stop running script after close figure
显示 更早的评论
Hi, How can I stop running script after I'm closing figure? (When I'm closing a figure it is reopened (using loop)). *Not mean to 'ctrl+C'. Thanks!
采纳的回答
更多回答(1 个)
KSSV
2016-6-21
0 个投票
You can type 'break' where you want to stop the code in the file. The code executes till the line before break and then exits.
类别
在 帮助中心 和 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!