Enable Coverage metrics on a Simulink test suite from Matlab Script

Hi,
I have a task to create a script that will generate coverage for all the tests in a suite. The script I'm working through is able to identify tests to run and run them, but at the moment, none of the tests have coverage enabled and some may also be in the wrong mode (accelerator mode, rather than normal).
Could someone provide information on how I can set these properties through a matlab script?

回答(1 个)

1 个评论

This does not state how the normal/accelerator mode can be changed. I have seen this page but I don't find it very useful.
In general I really think Mathworks could do with upping their documentation game.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Results, Reporting, and Test File Management 的更多信息

产品

版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by