how to interrupt a while loop??
Ältere Kommentare anzeigen
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????
Akzeptierte Antwort
Weitere Antworten (1)
Geoff
am 6 Jun. 2012
0 Stimmen
In your GUI, set some user data to your GUI handle.
In your loop, check this data and break accordingly.
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!