| MATLAB® | ![]() |
#include "mex.h" void mexWarnMsgIdAndTxt(const char *warningid, const char *warningmsg, ...);
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 containing the warning message to be displayed. In C, the string may include formatting conversion characters, such as those used with the ANSI C sprintf function.
In C, any additional arguments needed to translate formatting conversion characters used in warningmsg. Each conversion character in warningmsg is converted to one of these values.
Call mexWarnMsgIdAndTxt to write a warning message and its corresponding identifier to the MATLAB window.
Unlike mexErrMsgIdAndTxt, mexWarnMsgIdAndTxt does not cause the MEX-file to terminate.
mexErrMsgTxt, mexErrMsgIdAndTxt, mexWarnMsgTxt
![]() | mexUnlock (C and Fortran) | mexWarnMsgTxt (C and Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |