continue despite the error

3 ビュー (過去 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 Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by