User`s guide
Using Class Methods
UINT32. UINT32 represents MATLAB array type uint32.
UINT64.
UINT64 represents MATLAB array type uint64.
UNKNOWN.
UNKNOWN represents MATLAB empty array type.
Example — Specifying an MWClassID Value
Construct a scalar numeric array of type MWClassID.INT16:
double AReal = 24;
MWNumericArray A = new MWNumericArray(AReal, MWClassID.INT16);
System.out.println("Array A of type " + A.classID() + " = \n" + A);
When you run this example, the results are as follows:
Array A of type int16 =
24
Methods of MWClassID
equals. This method indicates whether some other
MWClassID is equa l to
this one. The
equals method of MWClassID overrides the equals method
of class
java.lang.Object.
The p rototype for
equals is as follows:
public final boolean equals(java.lang.Object obj)
getSize. This method returns the size in bytes of an array element of this
type.
The p rototype for
getSize is as follows:
public final int getSize()
hashCode. This method returns a hash code value for the type. The
hashCode method of MWClassID overrides the hashCode method of class
java.lang.Object.
4-151