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

Inquire if an mxArray contains a character array

Fortran Syntax

Arguments

pm
  Pointer to an mxArray.

Returns

1 if the mxArray contains a character array, 0 otherwise.

Description

Call mxIsString to inquire whether or not the mxArray contains a character array. The DisplayMode flag tells MATLAB whether to display the mxArray in numeric form or to interpret the elements as ASCII values and to display the mxArray as a character array, if the semicolon is omitted from a MATLAB statement.

Use mxGetString and mxCreateString to extract and insert character arrays into mxArrays.

See Also

mxCreateString, mxGetString



[ Previous | Help Desk | Next ]