Why does the MATLAB Report Generator 2.0 (R14) generate errors during execution in debug mode?
Show older comments
I can successfully generate reports in normal or quiet mode from the command line. When I generate reports in debug mode, MATLAB errors out. Also, when I run the Report Generator back in quiet mode, it stays in debug mode and returns a different error. The following are the reproduction steps:
s = report('ch1-tutorial','-debug')
Type these commands at the command prompt:
dbstatus
dbquit
The DBSTATUS command returns
Stop if error.
Stop if caught error.
Stop if warning.
The DBQUIT command returns the following error:
??? Reference to non-existent field 'UseV6PlotAPI'.
Now if I try to run the report in quiet mode, it continues to stay in debug mode.
s = report('ch1-tutorial','-quiet');
The Report Generator outputs the following error:
Caught-error breakpoint was hit in rptgen.report>isSimulink at line 238. The error was:
Error using ==> find_system
Error in specification of object or property name and value pairs.
Executing DBSTATUS returns the same output as in the debug mode. The DBQUIT command returns the following error:
??? Error using ==> find_system
Error in specification of object or property name and value pairs.
To execute the report in quiet mode, you must use DBCLEAR to clear all breakpoints.
dbclear all
s = report('mcurves','-quiet');
Accepted Answer
More Answers (0)
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!