Can we define a function in GUI code which runs and updates the parameters entire time?

Hi,
Can we define a function in GUI which checks for the parameters output from SIMULINK continuously and updates the GUI? It should not depend on pushbutton function input etc.
If yes, how can we define such a function?
Thanks.

 Réponse acceptée

You might have to use a timer() and in the callback retrieve the latest results from the workspace.
I am, though, weak on the matter of when the simulation runs synchronously vs asynchronously.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by