Calculate coverage starting from .mat files

조회 수: 4 (최근 30일)
Alessandro Longo
Alessandro Longo 2023년 2월 14일
댓글: Pat Canny 2023년 2월 27일
Hello everyone,
I have a Simulink model .slx and several test sequences as .mat files.
Is there a way to build a script so that these .mat tests run consecutively and the output is one single coverage report?
Just as a qualitative example, I would like to do something like this:
  • run test_1 for the model_X
  • run test_2 for the model_X
  • run test_3 for the model_X
  • generate coverage report for test_1, test_2 and test_3 (cumulative report)
It would be very helpful to control this with a script, and not by the Simulink Coverage menu.
Thank you!
  댓글 수: 3
Alessandro Longo
Alessandro Longo 2023년 2월 14일
Hello Pat, I would like to not use Simulink Test in doing this. Is it possible?
Pat Canny
Pat Canny 2023년 2월 27일
Hi @Alessandro Longo - sorry for the delayed response. Are you using a custom testing tool?
Have you looked into creating a harness with slvnvmakeharness?

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

답변 (0개)

카테고리

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

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by