External Interfaces/API Reference    
mxGetChars

Get pointer to character array data

C Syntax

Arguments

array_ptr
   Pointer to an mxArray.

Returns

The address of the first character in the mxArray. Returns NULL if the specified array is not a character array.

Description

Call mxGetChars to determine the address of the first character in the mxArray that array_ptr points to. Once you have the starting address, you can access any other element in the mxArray.

See Also

mxGetString, mxGetPr, mxGetPi, mxGetCell, mxGetField, mxGetLogicals, mxGetScalar


  mxGetCell mxGetClassID