Documentation

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

Error Handling

Generate, catch, and respond to warnings and errors

MATLAB Language Syntax

try, catch Execute statements and catch resulting errors

Functions

error Throw error and display message
warning Display warning message
lastwarn Last warning message
assert Throw error if condition false
onCleanup Cleanup tasks upon function completion
Was this topic helpful?