라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

Exception Handling

Capture and retrieve data on causes of errors

MATLAB Language Syntax

try, catch Execute statements and catch resulting errors


MException Capture error information


addCause Record additional causes of exception
getReport Get error message for exception
last Return last uncaught exception
rethrow Rethrow previously caught exception
throw Throw exception
throwAsCaller Throw exception as if occurs within calling function
Was this topic helpful?