User`s guide

size_t ElementSize() const
Purpose Return size in bytes of an element of array
C++
Syntax
#include "mclcppclass. h"
mwArray a(2, 2, mxDOUBLE_CLASS);
int size = a.ElementSize();// Should return sizeof(d oubl e)
Arguments None
Return
Value
The size in bytes of an elem ent of this ty pe of a rray.
Description Use this method to determine the size in byt es of an e lement of array
type.
Note If you do not define MX_CO MPAT_32_OFF, this method is d efined
as
size-t ElementSize() const.
C-50