How to catch an error
Ältere Kommentare anzeigen
Hi,
if I get an error I want change the algorithm: like this:
if ERROR
ALGORITHM 2
else
ALGORITHM 1
end
Hope someone can help.
Thank YOu!
Akzeptierte Antwort
Weitere Antworten (1)
the cyclist
am 4 Jun. 2012
You need the try-catch construct. Look up
>> doc try
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!