| MATLAB Application Program Interface | Search  Help Desk |
| mxIsString | See Also |
Inquire if an mxArray contains a character array
Fortran Syntax
integer*4 function mxIsString(pm) integer*4 pm
Arguments
pmmxArray.
Returns
1 if themxArray contains a character array, 0 otherwise.
Description
CallmxIsString 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