How to exit a script but not from MATLAB?

19 次查看(过去 30 天)
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

回答(1 个)

Adam
Adam 2018-3-9
doc return
should do the job.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by