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

Functions

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

Classes

MException Capture error information
Was this topic helpful?