Updated 6 Oct 2014
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.
Brad Clymer (2023). errorStackProcessor (https://www.mathworks.com/matlabcentral/fileexchange/48036-errorstackprocessor), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Application Deployment > MATLAB Compiler >
- MATLAB > Programming > Functions > Scope Variables and Generate Names >
- MATLAB > App Building > Migrate GUIDE Apps > Dialog Boxes >
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.