continue despite the error

3 views (last 30 days)
Wojciech
Wojciech on 6 Nov 2012
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?

Accepted Answer

Arthur
Arthur on 6 Nov 2012
you can use try...catch
doc try

More Answers (1)

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

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!