Adding a progress bar in App Designer inside a callback
Show older comments
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 Comments
Rik
on 24 Feb 2022
You could try to force a graphics update with drawnow. That might trigger the progress bar to show up.
Atharva Sule
on 25 Feb 2022
Rik
on 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.
Accepted Answer
More Answers (0)
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!