continue despite the error

1 Ansicht (letzte 30 Tage)
Wojciech
Wojciech am 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?

Akzeptierte Antwort

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

Weitere Antworten (1)

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

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by