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!