How to indicate in MATLAB GUI when simulation in SIMULINK is complete?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am using Stop Simulation in SIMULINK to stop the simulation when it is done running. I am sending the value which trigger stop simulation in MATLAB. But, the problem is I am not able to notify in the GUI that its complete. I am trying to set handles for particular edit box.
Can anyone suggest a better way?
Thanks.
0 Commenti
Risposte (1)
Kaustubha Govind
il 1 Ott 2013
You can use get_param('sys','SimulationStatus') to query when a model has finished simulation. This should return 'stopped' when the simulation is complete. See Control Simulation Using the set_param Command for more information.
2 Commenti
Kaustubha Govind
il 3 Ott 2013
Looks like you have already created a new question for this at http://www.mathworks.com/matlabcentral/answers/88982-can-we-define-a-function-in-gui-code-which-runs-and-updates-the-parameters-entire-time
Vedere anche
Categorie
Scopri di più su Programmatic Model Editing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!