Borrar filtros
Borrar filtros

How to sync progress bar with model simulation in gui?

8 visualizaciones (últimos 30 días)
Hemanth
Hemanth el 16 de Jun. de 2012
Hi The model i have developed takes few minutes to simulate at a slow pace, some times it is difficult to tell whether it is still in simulation or not. So i have tried to add progress bar to my gui which i did successfully, but i am not able to sync the model simulation and progress bar. Can anyone guide me to solve this problem.
  1 comentario
TAB
TAB el 18 de Jun. de 2012
Simulink GUI already have a simulation progress bar at the bottom.
Isn't it sufficient ?

Iniciar sesión para comentar.

Respuestas (2)

the cyclist
the cyclist el 16 de Jun. de 2012
This blog post is old, but might have some ideas to help you:
Be sure to see the comments as well. They reference at least one FEX program that might help. This one looks promising (but I haven't tried it myself):
  1 comentario
Hemanth
Hemanth el 18 de Jun. de 2012
Hi
Thank you for ur reply but i have already checked those ideas i didn't understand where to add which code. Can u give me any advice in this.

Iniciar sesión para comentar.


Kaustubha Govind
Kaustubha Govind el 21 de Jun. de 2012
You can use Method Execution Event listeners to have the WAITBAR be updated in the PostOutputs callback of one of the blocks in your model. Please see the demo model "sldemo_msfcn_lms" to get an idea of how it updates a plot figure continuously - you can update a WAITBAR similarly.

Categorías

Más información sobre Dialog Boxes en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by