| MATLAB Application Program Interface | Search  Help Desk |
| mxIsString | See Also |
Inquire if an mxArray contains a character array
integer*4 function mxIsString(pm) integer*4 pmpm
mxArray.
1 if the mxArray contains a character array, 0 otherwise.
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.
mxCreateString, mxGetString