Display model coverage results with model coloring
cvmodelview(cvdo) displays coverage results
coloring the objects in the model that have model coverage results.
model, create the test specification object
testObj to collect model coverage.
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)
Use the Coverage Settings dialog box to display model coverage results by coloring objects:
Open the model.
Select Analysis > Coverage > Settings.
On the Coverage tab, select Coverage for this model.
On the Results tab, select Display coverage results using model coloring.
Click OK to close the Coverage Settings dialog box and save your changes.
Simulate the model and review the results.