| MATLAB Application Program Interface | Search  Help Desk |
| mxIsCell | See Also |
C Syntax
#include "matrix.h" bool mxIsCell(const mxArray *array_ptr);
Arguments
array_ptrReturns
true if array_ptr points to an array having the class mxCELL_CLASS; otherwise, returns false.
Description
UsemxIsCell 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
mxIsClass