Inject error in function
This function injects an error in an m-file at a line. Can be used to abort a function.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
tommsch (2026). Inject error in function (https://ch.mathworks.com/matlabcentral/fileexchange/83283-inject-error-in-function), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: tracer4m
General Information
- Version 1.0.1 (1.54 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux