External Interfaces Reference Previous page   Next Page
mxGetNumberOfDimensions

Get number of dimensions in mxArray

Fortran Syntax

Arguments

pm
   Pointer to an mxArray.

Returns

The number of dimensions in the specified mxArray. The returned value is always 2 or greater.

Description

Use mxGetNumberOfDimensions to determine how many dimensions are in the specified array. To determine how many elements are in each dimension, call mxGetDimensions.

See Also

mxSetM, mxSetN, mxGetDimensions


Previous page  mxGetNaN mxGetNumberOfElements Next page

© 1994-2005 The MathWorks, Inc.