I have Simulink Coverage but could not find in Configuration parameters

3 次查看(过去 30 天)
I have Simulink Coverage but could not find in Configuration parameters the option to select simulink coverage

回答(1 个)

Sarthak
Sarthak 2023-3-9
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 个评论
Pat Canny
Pat Canny 2023-5-4
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Collect Coverage for Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by