| External Interfaces/API Reference | ![]() |
C Syntax
Arguments
warning_msg
String containing the warning message to be displayed.
Description
mexWarnMsgTxt causes MATLAB to display the contents of warning_msg.
Unlike mexErrMsgTxt, mexWarnMsgTxt does not cause the MEX-file to terminate.
Examples
See yprime.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
mexWarnMsgIdAndTxt, mexErrMsgTxt, mexErrMsgIdAndTxt
| mexWarnMsgIdAndTxt | C MX-Functions | ![]() |