Why do I get Coverage error .

4 次查看(过去 30 天)
Shivam Singh
Shivam Singh 2021-12-20
Why this error, Not able to highlight because model changed error during Coverage analysis
With every model I used.
  3 个评论
Ian
Ian 2024-8-9
Hi Pat,
So when model have been changed, I need to create new harness then enable to doing coverage test?
Garmit Pant
Garmit Pant 2024-8-9
Hi @Ian
The answer below can be helpful to you too.

请先登录,再进行评论。

回答(1 个)

Garmit Pant
Garmit Pant 2024-8-9
Hi Shivam,
The problem you are encountering may be due to changes made in the model between multiple simulation runs. The Coverage Report can be aggregated over multiple coverage runs, but the model needs to remain unchanged for this to work correctly.
As of the latest version, R2024a, you can make changes between coverage runs, but the coverage results are generated and highlighted only for the runs with an unchanged model. If you try to include runs with a changed model, an error will be generated.
R2024a introduces new features to generate coverage reports over multiple simulations using Design Studies. Refer to the following resource to understand how to use this new feature: [Collect Coverage for Multiple Simulations](https://www.mathworks.com/help/slcoverage/ug/collect-coverage-for-multiple-simulations.html).
I hope you find the above explanation and suggestions useful!

类别

Help CenterFile Exchange 中查找有关 Verification, Validation, and Test 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by