Main Content
mxGetNumberOfDimensions (Fortran)
Number of dimensions in mxArray
Fortran Syntax
#include "fintrf.h" mwSize mxGetNumberOfDimensions(pm) mwPointer pm
Description
mxGetNumberOfDimensions
returns the number of dimensions in the
specified mxArray
. The returned value is always 2
or greater.
To determine how many elements are in each dimension, call mxGetDimensions
.
Input Arguments
Version History
Introduced before R2006a