User`s guide

mwArray GetDimensions() const
Purpose Return array of type m xINT 32_CLASS representing dimensions of array
C++
Syntax
#include "mclcppclass. h"
mwArray a(2, 2, mxDOUBLE_CLASS);
mwArray dims = a.GetDimensions();
Arguments None
Return
Value
mwArray type mxINT32_CLASS containing the dimensions of the array.
Description Usethismethodtodeterminethesizeofeachdimensioninthearray.
The size of the returned array is 1-by-
NumberOfDimensions().
C-57