Azzera filtri
Azzera filtri

continue despite the error

2 visualizzazioni (ultimi 30 giorni)
Wojciech
Wojciech il 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?

Risposta accettata

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

Più risposte (1)

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

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by