External Interfaces/API Reference | ![]() ![]() |
C Syntax
#include "matrix.h" bool mxIsCell(const mxArray *array_ptr);
Arguments
array_ptr
Pointer to an array.
Returns
true
if array_ptr
points to an array having the class mxCELL_CLASS
, and false
o
therwise.
Description
Use mxIsCell
to determine if the specified array is a cell array.
Do not confuse a cell array with a cell element. Remember that a cell array contains various cell elements, and that most cell elements are not cell arrays.
Calling mxIsCell
is equivalent to calling
mxGetClassID(array_ptr) == mxCELL_CLASS
See Also
![]() | mxGetString | mxIsChar | ![]() |