Adding a progress bar in App Designer inside a callback
Ältere Kommentare anzeigen
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 Kommentare
Rik
am 24 Feb. 2022
You could try to force a graphics update with drawnow. That might trigger the progress bar to show up.
Atharva Sule
am 25 Feb. 2022
Rik
am 25 Feb. 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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!