How can I stop the program? "Break" - Error
Mostrar comentarios más antiguos
I am using a "Break" to stop the program but it is showing an error. How can I solve that and stop the program? Thanks

Respuesta aceptada
Más respuestas (1)
Birdman
el 26 de Oct. de 2017
Break is used to stop for or while loops. Just throw an error by typing:
error('Break');
Categorías
Más información sobre Loops and Conditional Statements 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!