Skip to Main Content Skip to Search
Product Documentation

mexWarnMsgTxt (C and Fortran) - Warning message

C Syntax

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

Fortran Syntax

subroutine mexWarnMsgTxt(warningmsg)
character*(*) warningmsg

Arguments

warningmsg

String containing the warning message to display

Description

mexWarnMsgTxt causes MATLAB software to display the contents of warningmsg.

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

Examples

See the following examples in matlabroot/extern/examples/mex.

See the following examples in matlabroot/extern/examples/refbook.

See the following examples in matlabroot/extern/examples/mx.

See Also

mexErrMsgTxt, mexErrMsgIdAndTxt, mexWarnMsgIdAndTxt

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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