Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

cvmodelview - Display model coverage results with model coloring

Syntax

cvmodelview(cvdo)

Description

cvmodelview(cvdo) displays coverage results from the cvdata object cvdo by coloring the objects in the model that have model coverage results.

Examples

Open the slvnvdemo_cv_small_controller demo model, create the test specification object testObj, and execute testObj to collect model coverage. Run cvmodelview to color the model objects for which you collect model coverage information:

mdl = 'slvnvdemo_cv_small_controller';
open_system(mdl)
testObj = cvtest(mdl)
data = cvsim(testObj)
cvmodelview(data)

Alternatives

To display model coverage results by coloring objects:

  1. Open the model.

  2. Select Tools > Coverage Settings.

  3. On the Coverage tab, select Coverage for this model.

  4. On the Results tab, select Display coverage results using model coloring.

  5. Click OK to close the Coverage Settings dialog box.

  6. Simulate the model.

See Also

cvsim

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS