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.)

  2. Run the test cases to verify model behavior.

  3. Analyze the coverage reports produced by the Simulink® Coverage™ 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.


    The Simulink Coverage software comes with an example of model coverage to validate model tests. To step through the example, at the MATLAB® command prompt, enter simcovdemo.