Can I save the model coverage highlighting produced by Simulink Verification and Validation 2.1 (R2007a)?
5 ビュー (過去 30 日間)
古いコメントを表示
I have turned on the 'Display coverage results using model coloring' option and 'Enabled Coverage Reporting' in Simulink Verification and Validation. This causes the model to be colored indicating what parts of the model have (green) and have not executed (red).
Is it possible to save this colored model so that when I open it again the colors are still visible?
採用された回答
MathWorks Support Team
2011 年 7 月 20 日
The ability to save the coverage color information with the model itself is not available in Simulink.
To work around this you can save the CVDATA structure that is produced by the Profiler (by default it is a variable called "covdata" in the workspace), then you can re-highlight your model using the CVMODELVIEW function, with the following command:
cvmodelview(covdata)
There is an example in the documentation of the function CVMODELVIEW for doing this.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Verification, Validation, and Test についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!