Calculate coverage starting from .mat files

2 次查看(过去 30 天)
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 中查找有关 Inputs 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by