MATLAB C++ Math Library
  Go to function:
    Search    Help Desk 
mwSetErrorMsgHandler    See Also

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



[ Previous | Help Desk | Next ]