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

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; otherwise, returns false.

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



[ Previous | Help Desk | Next ]