Documentation Center

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

Exception Handling

Capture and retrieve data on causes of errors

MATLAB Language Syntax

try, catch Execute statements and catch resulting errors


addCause (MException) Record additional causes of exception
getReport (MException) Get error message for exception
last (MException) Last uncaught exception
rethrow (MException) Reissue existing exception
throw (MException) Issue exception and terminate function
throwAsCaller (MException) Throw exception as if from calling function


MException Capture error information
Was this topic helpful?