How to stop a script from executing
Ältere Kommentare anzeigen
This is a basic question but I am wondering how you can halt a script from executing mid script.
Akzeptierte Antwort
Weitere Antworten (1)
Paulo Silva
am 16 Aug. 2011
%code
error('Mid script reached, this error message was made on purpose')
%code
Another alternative could be the use of the return function
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!