Stopping the Simulink Test Manager execution

2 次查看(过去 30 天)
Is there any way to stop the Test Manager execution via script if a test fails ?

回答(1 个)

Anagha Mittal
Anagha Mittal 2023-2-20
Hi Szilard,
You can give an "if" condition in your script for test failure and stop or close the Test Manager using the command:
sltest.testmanager.close;
For more information, please refer to the following link: Close the Simulink Test Manager - MATLAB sltest.testmanager.close (mathworks.com)

类别

Help CenterFile Exchange 中查找有关 Outputs 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by