MATLAB Application Program Interface
  Go to function:
    Search    Help Desk 
mexPrintf    See Also

Print a character array

Fortran Syntax

Arguments

message
  Character array containing message to be displayed.

Note:  If you want the literal % in your message, you must use %% in your message string since % has special meaning to mexPrintf. Failing to do so will cause unpredictable results.

Description

mexPrintf prints a character array on the screen and in the diary (if the diary is in use). It provides a callback to the standard C printf routine already linked inside MATLAB.

Note:  Optional arguments to mexPrintf are not supported in Fortran.

See Also

mexErrMsgTxt



[ Previous | Help Desk | Next ]