how assertion raised exceptions are handled in matlab
조회 수: 9 (최근 30일)
이전 댓글 표시
Hello,
Could anyone can explain how an assertion raised exception is handled . If possible could you please send a pseudo code for it.
Any help would be appreciated.
Thank you.
댓글 수: 0
답변 (1개)
Walter Roberson
2011년 12월 7일
>> try; assert(false,'man:from:mars','I only eat guitars'); catch me; disp(me); end
MException object with properties:
identifier: 'man:from:mars'
message: 'I only eat guitars'
stack: [0x1 struct]
cause: {}
댓글 수: 1
참고 항목
카테고리
Help Center 및 File Exchange에서 Measurements and Spatial Audio에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!