Pointer to character array data
Pointer to the first character in the mxArray. Returns NULL if the specified array is not a character array.
Call mxGetChars to access 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.