Filter löschen
Filter löschen

Stopping the Simulink Test Manager execution

3 Ansichten (letzte 30 Tage)
Szilard Hegyi
Szilard Hegyi am 15 Feb. 2023
Beantwortet: Anagha Mittal am 20 Feb. 2023
Is there any way to stop the Test Manager execution via script if a test fails ?

Antworten (1)

Anagha Mittal
Anagha Mittal am 20 Feb. 2023
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)

Kategorien

Mehr zu Test Execution finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by