Dialog box to display errors in a deployed executable


Updated 6 Oct 2014

View License

Almost anyone who's made a GUI that has been deployed as an executable has found the headache of debugging that error that the enduser has, but on the machine used to develop does not. In secure systems, there is often no space to write a record of what went wrong. This is where errorStackProcessor is of use.
Place errorStackProcessor in your upper-level function with an over-arching try/catch block, and pass the caught error to errorStackProcessor in the catch section. A dialog will be displayed including a full stack trace, and the specific error that occured.

Cite As

Brad Clymer (2023). errorStackProcessor (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes