stop running script after close figure
Afficher commentaires plus anciens
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!
Réponse acceptée
Plus de réponses (1)
KSSV
le 21 Juin 2016
0 votes
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 commentaire
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!