Adding a progress bar in App Designer inside a callback
Afficher commentaires plus anciens
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 commentaires
Rik
le 24 Fév 2022
You could try to force a graphics update with drawnow. That might trigger the progress bar to show up.
Atharva Sule
le 25 Fév 2022
Rik
le 25 Fév 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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Environment and Settings 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!