How can I stop the program? "Break" - Error
Ältere Kommentare anzeigen
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

Akzeptierte Antwort
Weitere Antworten (1)
Birdman
am 26 Okt. 2017
Break is used to stop for or while loops. Just throw an error by typing:
error('Break');
Kategorien
Mehr zu Loops and Conditional Statements 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!