External Interfaces/API Reference    
mxIsChar

True if a string mxArray

C Syntax

Arguments

array_ptr
   Pointer to an mxArray.

Returns

true if array_ptr points to an array having the class mxCHAR_CLASS, and false otherwise.

Description

Use mxIsChar to determine if array_ptr points to string mxArray.

Calling mxIsChar is equivalent to calling

Examples

See phonebook.c and revord.c in the refbook subdirectory of the examples directory.

For additional examples, see mxcreatecharmatrixfromstr.c, mxislogical.c, and mxmalloc.c in the mx subdirectory of the examples directory.

See Also

mxIsClass, mxGetClassID


  mxIsCell mxIsClass