mexWarnMsgTxt (C and Fortran) - Issue warning message

C Syntax

#include "mex.h"
void mexWarnMsgTxt(const char *warningmsg);

Fortran Syntax

mexWarnMsgTxt(warningmsg)
character*(*) warningmsg

Arguments

warningmsg

String containing the warning message to be displayed

Description

mexWarnMsgTxt causes MATLAB software to display the contents of warningmsg.

Unlike mexErrMsgTxt, mexWarnMsgTxt does not cause the MEX-file to terminate.

C Examples

See yprime.c in the mex subdirectory of the examples directory.

Additional examples:

See Also

mexErrMsgTxt, mexErrMsgIdAndTxt, mexWarnMsgIdAndTxt

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS