| MATLAB C++ Math Library | Search  Help Desk |
| mwSetPrintHandler | See Also |
Set the current print handling routine
C++ Prototype
void mwSetPrintHandler(mwOutputFunc f);
Arguments
fchar * argument and returns void. The function displays the character string. mwOutputFunc is defined as:
typedef void (*mwOutputFunc)(const char *);
Description
mwSetPrintHandler sets the print handling routine. The print handler is responsible for handling all "normal" (nonerror) output. You must call mwSetPrintHandler() before calling other library routines. Otherwise the library uses the default print handler to display messages.
See Also
mwGetPrintHandler