| MATLAB Compiler | ![]() |
int ElementSize() const
Return size in bytes of an element of this array.
C++ syntax
#include "mclcppclass.h" mwArray a(2, 2, mxDOUBLE_CLASS); int size = a.ElementSize();// Should return sizeof(double)
Arguments
Return value
The size in bytes of an element of this type of array.
Description
Use this method to determine the size in bytes of an element of this array type.
| mxClassID ClassID() const | int NumberOfElements() const | ![]() |
© 1994-2005 The MathWorks, Inc.