How to stop a script from executing
37 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
This is a basic question but I am wondering how you can halt a script from executing mid script.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Paulo Silva
le 16 Août 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 commentaires
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!