stop running script after close figure
10 views (last 30 days)
Show older comments
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!
0 Comments
Accepted Answer
More Answers (1)
KSSV
on 21 Jun 2016
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.
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!