| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
#include "mex.h" void mexWarnMsgTxt(const char *warningmsg);
mexWarnMsgTxt(warningmsg) character*(*) warningmsg
mexWarnMsgTxt causes MATLAB software to display the contents of warningmsg.
Unlike mexErrMsgTxt, mexWarnMsgTxt does not cause the MEX-file to terminate.
See yprime.c in the matlabroot/extern/examples/mex folder .
Additional examples:
explore.c in the matlabroot/extern/examples/mex folder
fulltosparse.c in the matlabroot/extern/examples/refbook folder
mxisfinite.c and mxsetnzmax.c in the matlabroot/extern/examples/mx folder
mexErrMsgTxt, mexErrMsgIdAndTxt, mexWarnMsgIdAndTxt
![]() | mexWarnMsgIdAndTxt (C and Fortran) | mwIndex (C and Fortran) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |