| MATLAB Compiler | ![]() |
int NumberOfDimensions() const
Return number of dimensions in this array.
C++ syntax
#include "mclcppclass.h" mwArray a(2, 2, mxDOUBLE_CLASS); int n = a.NumberOfDimensions();// Should return 4
Arguments
Return value
Number of dimensions in this array.
Description
Use this method to determine the dimensionality of the array.
| int MaximumNonZeros() const | int NumberOfFields() const | ![]() |
© 1994-2005 The MathWorks, Inc.