continue despite the error

2 次查看(过去 30 天)
Wojciech
Wojciech 2012-11-6
How to continue main program, though the error in subprogram appears and stops all. What is the quick solution to have an error and continue next iteration or next command in main program?

采纳的回答

Arthur
Arthur 2012-11-6
you can use try...catch
doc try

更多回答(1 个)

Matt J
Matt J 2012-11-6
Is the error issued by you or by MATLAB? If by you, issue a warning instead.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by