C++ Math Library Reference    
mwSetErrorMsgHandler

Register an error handling routine with the MATLAB C++ Math Library

C++ Prototype

Arguments

A pointer to an error handling routine that takes a char * and an mwBool as its arguments and returns void.

Description

If you want to separate error messages from ``ordinary'' output, call the function mwSetErrorMsgHandler() to replace the default handler. mwSetErrorMsgHandler sets the error handling routine. The error handler is responsible for handling all error message output.

See Also

mwDisplayException, mwGetErrorMsgHandler, mwGetExceptionMsgHandler, mwSetExceptionMsgHandler


 mwGetPrintHandler mwSetExceptionMsgHandler