how to interrupt a while loop??
이전 댓글 표시
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????
채택된 답변
추가 답변 (1개)
Geoff
2012년 6월 6일
0 개 추천
In your GUI, set some user data to your GUI handle.
In your loop, check this data and break accordingly.
카테고리
도움말 센터 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!