Main Content

com.mathworks.toolbox.javabuilder.MWClassID Class

Namespace: com.mathworks.toolbox.javabuilder

Java class to enumerate all MATLAB array types

Description

Declaration

public class MWClassID 
extends java.lang.Object 
implements java.io.Serializable

The MWClassID class enumerates all MATLAB® array types. This class contains no public constructors. A set of public static MWClassID instances are provided, one for each MATLAB array type.

Implemented Interfaces: java.io.Serializable

Creation

Constructors

This class contains no public constructors.

Properties

expand all

Public Properties

Represents a MATLAB cell array.

Represents a MATLAB char array.

Represents a MATLAB double array.

Represents a MATLAB function array.

MATLAB function arrays are not supported in the current release.

Represents a MATLAB int16 array.

Represents a MATLAB int32 array.

Represents a MATLAB int64 array.

Represents a MATLAB int8 array.

Represents a MATLAB logical array.

Represents a MATLAB object array.

MATLAB object arrays are not supported in the current release.

Represents a MATLAB opaque array.

Represents a MATLAB single array.

Represents a MATLAB string array.

Represents a MATLAB struct array.

Represents a MATLAB uint16 array.

Represents a MATLAB uint32 array.

Represents a MATLAB uint64 array.

Represents a MATLAB uint8 array.

Represents a MATLAB empty array.

Methods

expand all

Examples

collapse all

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);
 Array A of type int16 =
          24

Version History

Introduced in R2006a