External Interfaces/API Reference | ![]() ![]() |
Inquire if an mxArray
contains a character
array
Fortran Syntax
integer*4 function mxIsString(pm) integer*4 pm
Arguments
pm
Pointer to an mxArray
.
Returns
1 if the mxArray
contains a character
array, and 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
![]() | mxIsSparse | mxSetIr | ![]() |