필터 지우기
필터 지우기

I can no longer perform coverage analysis, what could be the problem?

조회 수: 10 (최근 30일)
Hello Matlab Gurus,
I am running a bunch of tests using Simulink Test tool. I have the Enable coverage analysis switched on for the models configuration. I have it enabled for the Test file, but no coverage analysis is carried out. Is there some setting somwhere else that is stopping the analysis? Will it work in Accelerated mode? If it won't work in anything except Normal mode surely a warning or an error message would be nice?
Cheers
Richard

채택된 답변

Jesús Zambrano
Jesús Zambrano 2021년 8월 12일
편집: Jesús Zambrano 2021년 8월 12일
Apart from selecting "Enable coverage analysis", it is needed to specify one out of: Entire System, Referenced Models, Subsystems. From documentation see that:
Entire System (default): Coverage data is collected for the top-level model, as well as all supported subsystems and model references.
Referenced Models: Coverage data is collected for one or more referenced models. To specify the referenced models, use the parameter Select Models. You can also specify the top-level model itself.
Subsystem: Coverage data is collected for a specific subsystem. To specify a subsystem, use the parameter Select Subsystem.
You then run the model, and then should see a Coverage tab as part of the toolstrip, where you can get access to a report of the coverage details, generate a report, highlight coverage on the model.
Please have a look at the following example in the documentation:https://se.mathworks.com/help/slcoverage/ug/cumulative-coverage-analysis.html
Hope it helps!
  댓글 수: 6
Richard Good
Richard Good 2021년 8월 12일
specifying this as the answer as a combination of the comments and the answer may help someone else ;-)
Jesús Zambrano
Jesús Zambrano 2021년 8월 12일
Absolutely! I think you made a good point. We really appreciate it. Thanks again!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by