How to exit a script but not from MATLAB?

9 vues (au cours des 30 derniers jours)
Mr M.
Mr M. le 9 Mar 2018
Réponse apportée : Adam le 9 Mar 2018
If I am in a nested loop, how to break everything and quit from the script? I've tried exit and quit, but in these cases MATLAB terminated also, not just the script

Réponses (1)

Adam
Adam le 9 Mar 2018
doc return
should do the job.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by