Why this error, Not able to highlight because model changed error during Coverage analysis
With every model I used.

댓글 수: 3

Pat Canny
Pat Canny 2021년 12월 20일
Hi Shivam,
I assume you are collecting "aggregate" (or "cumulative") coverage across multiple simulations. Is that correct?
If so, did you change the model between simulations? The coverage highlighting will only work when displaying coverage for simulations of the same model version.
Thanks.
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일

0 개 추천

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!

카테고리

도움말 센터File Exchange에서 Collect Coverage for Models에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2021년 12월 20일

댓글:

2024년 8월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by