stop running script after close figure
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Eden Eden
am 21 Jun. 2016
Kommentiert: Eden Eden
am 21 Jun. 2016
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 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 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.
1 Kommentar
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!