User`s guide
18 Coverage Collection During Simulation
18-2
Model Coverage Collection Workflow
To develop effective tests with model coverage:
1
Develop one or more test cases for your model. (See “Create and Run Test Cases” on
page 18-3.)
2
Run the test cases to verify model behavior.
3
Analyze the coverage reports produced by the Simulink Verification and Validation
software.
4
Using the information in the coverage reports, modify the test cases to increase their
coverage or add new test cases to cover areas not currently covered.
5
Repeat the preceding steps until you are satisfied with the coverage of your test
suite.
Note: The Simulink Verification and Validation software comes with an example
of model coverage to validate model tests. To step through the example, at the
MATLAB command prompt, enter simcovdemo.