C Math Library Reference | ![]() ![]() |
Register an error handler function with the MATLAB C Math Library
C Prototype
void mlfSetErrorHandler(void(* EH)(const char*, bool));
Arguments
void(* EH)(const char*, bool)
A pointer to a function that takes a char *
argument and a Boolean argument that indicates whether the first argument is an error message or a warning. The MATLAB C Math Library calls this function rather than its default error handler when an error or warning must be displayed.
Description
This function lets you to control how errors are displayed and handled.
![]() | mlfScalar | mlfSetLibraryAllocFcns | ![]() |