How to exit a script but not from MATLAB?

19 visualizaciones (últimos 30 días)
Mr M.
Mr M. el 9 de Mzo. de 2018
Respondida: Adam el 9 de Mzo. de 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

Respuestas (1)

Adam
Adam el 9 de Mzo. de 2018
doc return
should do the job.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by