Refreshing app GUI during longer actions
46 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Lionel Pöffel
am 26 Okt. 2021
Verschoben: Walter Roberson
am 28 Jun. 2023
I am designing a MATLAB app which, during a longer action, needs to update certain UI elements in order to indicate progress.
Unfortunately this does not happen. Instead the app GUI immediately jumps to its final appearance and somehow "consumes" the intermediate update steps.
I tried
refresh(app.UIFigure)
but that does not have an effect.
The only thing that helps (but to me is a very dirty work-around) is
pause(0.1)
after each GUI update.
Isn't there a better way?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 26 Okt. 2021
Verschoben: Walter Roberson
am 28 Jun. 2023
Did you try drawnow()?
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!