continue despite the error

6 visualizaciones (últimos 30 días)
Wojciech
Wojciech el 6 de Nov. de 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?

Respuesta aceptada

Arthur
Arthur el 6 de Nov. de 2012
you can use try...catch
doc try

Más respuestas (1)

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

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by