Breakout of a loop depending on msgbox
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I would like to know how I can break out of a while loop when I click Ok on msgbox?
If it doesn't work, is there any alternative solutions. Please help me with it.
0 件のコメント
回答 (1 件)
Marco Wassmer
2018 年 6 月 8 日
Hi,
I am going to point you towards the progressbar. It can be configured to have a Cancel Button that would stopp a for loop. see the Example "Update Wait Bar Message and Add Cancel Button"
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!