23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

0mwSetPrintHandler<br />

Purpose Set the current print handling routine<br />

<strong>C++</strong> Prototype void mwSetPrintHandler(mwOutputFunc f);<br />

mwSetPrintHandler<br />

Arguments f<br />

Pointer to a function that takes a char * argument and returns void. The<br />

function displays the character string. mwOutputFunc is defined as:<br />

typedef void (*mwOutputFunc)(const char *);<br />

Description mwSetPrintHandler sets the print handling routine. The print handler is<br />

responsible for handling all "normal" (nonerror) output. You must call<br />

mwSetPrintHandler() before calling other library routines. Otherwise the<br />

library uses the default print handler to display messages.<br />

See Also mwGetPrintHandler<br />

418

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!