Displays a formatted error message to the console
Updated 13 Feb 2007

View License

displayError takes an error structure as an input and displays the error to the console in a manner similar to MATLAB. The output provides links to the files containing the error as well as the line text where the error occurred.

Cite As

Chris Cannell (2024). displayError (https://www.mathworks.com/matlabcentral/fileexchange/13942-displayerror), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Scope Variables and Generate Names in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes