how to interrupt a while loop??
Mostra commenti meno recenti
in GUI, I try to interrupt a while loop...let's say.. a program initiate while loop when button A are pushed, and i want to stop/interupt the loop by pushing button B.. any idea????
Risposta accettata
Più risposte (1)
Geoff
il 6 Giu 2012
0 voti
In your GUI, set some user data to your GUI handle.
In your loop, check this data and break accordingly.
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!