Stopping the Simulink Test Manager execution

조회 수: 7 (최근 30일)
Szilard Hegyi
Szilard Hegyi 2023년 2월 15일
답변: Anagha Mittal 2023년 2월 20일
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에서 Results, Reporting, and Test File Management에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by