How to change SIMULATION OUTPUTS settings programmatically in TestManager?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
SheenGil Kang
am 28 Mär. 2024
Beantwortet: Angelo Yeo
am 29 Mär. 2024
How do I programmatically change the option in TestManager?
I'm tring to change the state of the checkbox named as 'Plot signals on the specified plots after simulation' which is one of SIMULATION OUTPUTS settings in TestManager(in detail, Test Case).
0 Kommentare
Akzeptierte Antwort
Angelo Yeo
am 29 Mär. 2024
% Open the model sltestFlutterSuppressionSystemExample for example.
openExample('sltestFlutterSuppressionSystemExample')
% Open test suite and test case. And set the property accordingly.
tf = sltest.testmanager.TestFile('sltestFlutterCriteriaTest.mldatx')
ts = tf.getTestSuites;
tc = ts.getTestCases;
tc.setProperty('PlotSignalAfterSimulation', true); % tc is the test case object
FYI, I tested the script in R2024a.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Results, Reporting, and Test File Management finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!