how to interrupt a while loop??
Mostrar comentarios más antiguos
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????
Respuesta aceptada
Más respuestas (1)
Geoff
el 6 de Jun. de 2012
0 votos
In your GUI, set some user data to your GUI handle.
In your loop, check this data and break accordingly.
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!