How to stop a script from executing
Mostra commenti meno recenti
This is a basic question but I am wondering how you can halt a script from executing mid script.
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
Categorie
Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!