I have Simulink Coverage but could not find in Configuration parameters

5 Ansichten (letzte 30 Tage)
NavyaSree
NavyaSree am 27 Feb. 2023
Kommentiert: Pat Canny am 4 Mai 2023
I have Simulink Coverage but could not find in Configuration parameters the option to select simulink coverage

Antworten (1)

Sarthak
Sarthak am 9 Mär. 2023
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 Kommentar
Pat Canny
Pat Canny am 4 Mai 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.
You can also use the cvtest and cvsim functions to do this programmatically.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Collect Coverage for Models finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by