Effacer les filtres
Effacer les filtres

How to get Simulation Status correctly?

27 vues (au cours des 30 derniers jours)
metehan akinci
metehan akinci le 20 Oct 2020
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

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 20 Oct 2020
Use set_param('vdp','SimulationCommand','continue') to change the simulation status, other options are 'start', 'pause','stop'.

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by