| MATLAB Application Program Interface | Search  Help Desk |
| mexWarnMsgTxt | Examples See Also |
C Syntax
#include "mex.h" void mexWarnMsgTxt(const char *warning_msg);
Arguments
warning_msgDescription
mexWarnMsgTxt causes MATLAB to display the contents of error_msg.
Unlike mexErrMsgTxt, mexWarnMsgTxt does not cause the MEX-file to terminate.
Examples
Seeyprime.c in the mex subdirectory of the examples directory.
For additional examples, see explore.c in the mex subdirectory of the examples directory; see fulltosparse.c and revord.c in the refbook subdirectory of the examples directory; see mxisfinite.c and mxsetnzmax.c in the mx subdirectory of the examples directory.
See Also
mexErrMsgTxt