External Interfaces Reference Previous page   Next Page
mxIsChar

Determine if input is string mxArray

C Syntax

Arguments

array_ptr
   Pointer to an mxArray.

Returns

Logical 1 (true) if array_ptr points to an array having the class mxCHAR_CLASS, and logical 0 (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


Previous page  mxIsCell mxIsClass Next page

© 1994-2005 The MathWorks, Inc.