Suppressed output after code error in publish
Show older comments
When I try to publish code that contains an example of a command that returns an error, the output for all code up to and including the error displays but all further code output is suppressed. For example, if I publish a file with this code in it,
3
error
3
the output shows the following for the first cell
ans =
3
Error using ==> error
Not enough input arguments.
Error in ==> cellToDebug at 3
error
but shows no output for the second cell (it does display the code). How do I get PUBLISH to continue displaying output after an error?
Accepted Answer
More Answers (1)
Andrew Newell
on 3 Mar 2011
0 votes
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!