Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

mxGetChars (C)

Pointer to character array data

C Syntax

#include "matrix.h"
mxChar *mxGetChars(const mxArray *array_ptr);

Arguments

array_ptr

Pointer to an mxArray

Returns

Pointer to the first character in the mxArray. Returns NULL if the specified array is not a character array.

Description

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.

See Also

mxGetString

Was this topic helpful?