| 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 mexWarnMsgIdAndTxt(const char *warningid, const char *warningmsg, ...);
subroutine mexWarnMsgIdAndTxt(warningid, warningmsg) character*(*) warningid, warningmsg
String containing a MATLAB message identifier. For information on creating identifiers, see Message Identifiers in the MATLAB Programming Fundamentals documentation.
String to display. In C, the string can include conversion specifications, used by the ANSI C printf function.
In C, any arguments used in the message. Each argument must have a corresponding conversion specification.
The mexWarnMsgIdAndTxt function writes a warning message to the MATLAB window. For more information, see the warning function syntax statement using a message identifier.
Unlike mexErrMsgIdAndTxt, calling mexWarnMsgIdAndTxt does not terminate the MEX-file.
mexErrMsgTxt, mexErrMsgIdAndTxt, mexWarnMsgTxt
![]() | mexUnlock (C and Fortran) | mexWarnMsgTxt (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 |