Stopping the Simulink Test Manager execution

6 visualizaciones (últimos 30 días)
Szilard Hegyi
Szilard Hegyi el 15 de Feb. de 2023
Respondida: Anagha Mittal el 20 de Feb. de 2023
Is there any way to stop the Test Manager execution via script if a test fails ?

Respuestas (1)

Anagha Mittal
Anagha Mittal el 20 de Feb. de 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)

Categorías

Más información sobre Results, Reporting, and Test File Management en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by