How to catch an error
古いコメントを表示
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!
採用された回答
その他の回答 (1 件)
the cyclist
2012 年 6 月 4 日
You need the try-catch construct. Look up
>> doc try
カテゴリ
ヘルプ センター および File Exchange で Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!