External Interfaces Reference |
Get number of elements in mxArray
Fortran Syntax
Arguments
Returns
Number of elements in the specified mxArray
.
Description
mxGetNumberOfElements
tells you how many elements an mxArray
has. For example, if the dimensions of an array are 3-by-5-by-10, then mxGetNumberOfElements
will return the number 150
.
See Also
mxGetDimensions
, mxGetM
, mxGetN
, mxGetClassName
mxGetNumberOfDimensions | mxGetNumberOfFields |
© 1994-2005 The MathWorks, Inc.