[App Designer]how to make endless loop program.
31 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jae-Hee Park
am 21 Dez. 2021
Beantwortet: Jae-Hee Park
am 23 Dez. 2021
I want to create an app that continuously receives input and displays new images.
If I simply put a function that creates an image like below,
while(flag)
function make_image()
end
the program seems to freeze. How should I design it?
5 Kommentare
Geoff Hayes
am 22 Dez. 2021
@Jae-Hee Park - consider using a timer to periodically update your image. The timer could have a period of one second (or less) and within its callback, you would make the update (similar to the body of your while loop).
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Graphics Performance 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!