I have Simulink Coverage but could not find in Configuration parameters

6 vues (au cours des 30 derniers jours)
NavyaSree
NavyaSree le 27 Fév 2023
Commenté : Pat Canny le 4 Mai 2023
I have Simulink Coverage but could not find in Configuration parameters the option to select simulink coverage

Réponses (1)

Sarthak
Sarthak le 9 Mar 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 commentaire
Pat Canny
Pat Canny le 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Collect Coverage for Models dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by