- Open your Simulink model.
- Go to the "Simulation" tab in the Simulink Editor.
- Click on the "Model Configuration Parameters" button.
- In the Configuration Parameters dialog box, go to the "Data Import/Export" tab.
- Under the "Coverage" section, check the box next to "Enable coverage collection".
- Choose the coverage metrics you want to collect from the drop-down list under "Coverage metrics".
- Click on the "Apply" button to apply the changes.
- Click on the "OK" button to close the Configuration Parameters dialog box.
I have Simulink Coverage but could not find in Configuration parameters
4 views (last 30 days)
Show older comments
I have Simulink Coverage but could not find in Configuration parameters the option to select simulink coverage
0 Comments
Answers (1)
Sarthak
on 9 Mar 2023
To enable Simulink Coverage in your Simulink model, you need to perform the following steps:
1 Comment
Pat Canny
on 4 May 2023
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.
See Also
Categories
Find more on Collect Coverage for Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!