User`s guide
mwSize NumberOfDimensions() const
Purpose Return number of dimensions in array
C++
Syntax
#include "mclcppclass. h"
mwArray a(2, 2, mxDOUBLE_CLASS);
int n = a.NumberOfDimensio ns();// Should return 2
Arguments None
Return
Value
Number of dimensions in array.
Description Use this method to determine the dimensionality of the array.
C-54