| Contents | Index |
#include "matrix.h" mwSize mxGetNumberOfDimensions(const mxArray *pm);
mwSize mxGetNumberOfDimensions(pm) mwPointer pm
Number of dimensions in the specified mxArray. The returned value is always 2 or greater.
Use mxGetNumberOfDimensions to determine how many dimensions are in the specified array. To determine how many elements are in each dimension, call mxGetDimensions.
See the following examples in matlabroot/extern/examples/mex.
See the following examples in matlabroot/extern/examples/refbook.
See the following examples in matlabroot/extern/examples/mx.
mxSetM, mxSetN, mxGetDimensions

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |