I have Simulink Coverage but could not find in Configuration parameters

I have Simulink Coverage but could not find in Configuration parameters the option to select simulink coverage

Answers (1)

To enable Simulink Coverage in your Simulink model, you need to perform the following steps:
  1. Open your Simulink model.
  2. Go to the "Simulation" tab in the Simulink Editor.
  3. Click on the "Model Configuration Parameters" button.
  4. In the Configuration Parameters dialog box, go to the "Data Import/Export" tab.
  5. Under the "Coverage" section, check the box next to "Enable coverage collection".
  6. Choose the coverage metrics you want to collect from the drop-down list under "Coverage metrics".
  7. Click on the "Apply" button to apply the changes.
  8. Click on the "OK" button to close the Configuration Parameters dialog box.

1 Comment

In newer releases, the setting is "Enable coverage analysis" under the Coverage tab in Configuration Parameters, which is available under the Modeling tab in the Simulink Toolstrip.
You can also enable coverage through the Coverage Analyzer App in the Simulink toolstrip.
You can also use the cvtest and cvsim functions to do this programmatically.

Sign in to comment.

Asked:

on 27 Feb 2023

Commented:

on 4 May 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!