Skip to content
Snippets Groups Projects
Verified Commit f8975bb9 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

perfect_foresight_problem MEX: forward exceptions thrown when evaluating the model .m files

This is useful when there are numerical errors in some files, such as
evaluating erf() on a complex number (under MATLAB this throws an exception;
under Octave, it instead returns a complex number).

Forward both the error message and error ID (but not other properties of the
MException object, there does not seem to be a way to do that from a MEX file).
parent e4b48973
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment