Can I save the model coverage highlighting produced by Simulink Verification and Validation 2.1 (R2007a)?

2 views (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Jul 2011
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.

More Answers (0)

Categories

Find more on Verification, Validation, and Test 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!