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!