Parsim Rapid Accelerator Mode setting Start Time and Stop Time
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Betsy Shafer
am 23 Apr. 2020
Beantwortet: Rahul Kumar
am 23 Apr. 2020
I would like to set the start time and stop time of Parsim. I have followed https://www.mathworks.com/help/simulink/slref/rapid-accelerator-simulations-using-parsim.html
to setup the simulation but I cant figure out how to change the start and stop time of the simulation. I have tried setting start and stop times to variables and using .setvariable with no luck. Any help would be great.
0 Kommentare
Akzeptierte Antwort
Rahul Kumar
am 23 Apr. 2020
Hi Betsy,
You can set StartTime and StopTime as ModelParameters on the SimulationInput object
in = in.setModelParameter('StartTime','1','StopTime','4');
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Run Multiple Simulations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!