How to stop a script from executing
37 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
This is a basic question but I am wondering how you can halt a script from executing mid script.
0 Commenti
Risposta accettata
Più risposte (1)
Paulo Silva
il 16 Ago 2011
%code
error('Mid script reached, this error message was made on purpose')
%code
Another alternative could be the use of the return function
2 Commenti
Vedere anche
Categorie
Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!