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
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 件)

カテゴリ

Help Center および File ExchangeVerification, Validation, and Test についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by