Adding a progress bar in App Designer inside a callback
Mostrar comentarios más antiguos
I'm trying to design an app where multiple models are simulated at the press of a single button. I've added the entire code for all models within the callback for the said button. I also want to display a progress bar that displays which model is being executed (and its progress). Where should I add the code for the progress bar? I tried adding the code in the same callback function but the progress bar shows up after the entire callback has been executed. Thanks in advance.
3 comentarios
Rik
el 24 de Feb. de 2022
You could try to force a graphics update with drawnow. That might trigger the progress bar to show up.
Atharva Sule
el 25 de Feb. de 2022
Rik
el 25 de Feb. de 2022
You're welcome, I expanded my comment and posted is as an answer. That should increase the visibility for future users with a similar issue.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Environment and Settings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!