Printing MATLAB errors (R14sp3 and later)

버전 1.2.0.1 (1.51 KB) 작성자: Malcolm Wood
Produces formatted output from the information returned by "lasterror"
다운로드 수: 1.9K
업데이트 날짜: 2016/9/1

라이선스 보기

Following the long-awaited addition to MATLAB of a mechanism for retrieving the call stack at the time of the last error it is now possible to find out where in the code the error occurred even when an error has been caught by a "catch" statement.
However, the convenient hyperlinks which allow you to go directly to the source of the error are only available when the error is uncaught.

This function prints similar hyperlinks in the MATLAB command window even for errors which were caught. Simply type "ple" at any time, and details of the the last error, including hyperlinks to every point in the call stack, will be shown in the command window.

인용 양식

Malcolm Wood (2024). Printing MATLAB errors (R14sp3 and later) (https://www.mathworks.com/matlabcentral/fileexchange/9525-printing-matlab-errors-r14sp3-and-later), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP3
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Scope Variables and Generate Names에 대해 자세히 알아보기
도움

줌: SeisLab 2.01, SeisLab 3.01

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.1

Updated license

1.2.0.0

Added copyright notice and suppressed an M-Lint warning.

1.1.0.0

Review

1.0.0.0

Adding some keywords, since this entry doesn't appear when I search for "print error" or "print errors".