How can I stop the program? "Break" - Error
古いコメントを表示
I am using a "Break" to stop the program but it is showing an error. How can I solve that and stop the program? Thanks

採用された回答
その他の回答 (1 件)
Birdman
2017 年 10 月 26 日
Break is used to stop for or while loops. Just throw an error by typing:
error('Break');
カテゴリ
ヘルプ センター および 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!