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!