[App Designer]how to make endless loop program.
33 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jae-Hee Park
le 21 Déc 2021
Réponse apportée : Jae-Hee Park
le 23 Déc 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 commentaires
Geoff Hayes
le 22 Déc 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).
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Graphics Performance dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!