Why does the MATLAB Report Generator 2.0 (R14) generate errors during execution in debug mode?
显示 更早的评论
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');
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!