Inject error in function

This function injects an error in an m-file at a line. Can be used to abort a function.

Download
Download

You are now following this Submission

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

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Changed summary description

Download
1.0.0

Download