How to stop a script from executing
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chris
el 16 de Ag. de 2011
Comentada: Hernan Larriva
el 3 de Abr. de 2023
This is a basic question but I am wondering how you can halt a script from executing mid script.
0 comentarios
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
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!