How to stop a script from executing
Mostrar comentarios más antiguos
This is a basic question but I am wondering how you can halt a script from executing mid script.
Respuesta aceptada
Más respuestas (1)
Paulo Silva
el 16 de Ag. de 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 comentarios
Shubha
el 8 de En. de 2014
this is cool! :)
sangmin kim
el 22 de Abr. de 2022
this is so cool!!
Categorías
Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!