How to get Simulation Status correctly?
27 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I was trying to get Simulation Status after i compile the model using ; get_param('myModel', 'SimulationStatus') yet even though my model is compiled(see that on the left bottom of the simulink), get_param('myModel', 'SimulationStatus') is return as 'paused'.
Is there any suggestions that you can give me?
Best Regards
0 Commenti
Risposte (1)
Fangjun Jiang
il 20 Ott 2020
Use set_param('vdp','SimulationCommand','continue') to change the simulation status, other options are 'start', 'pause','stop'.
0 Commenti
Vedere anche
Categorie
Scopri di più su General Applications in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!