Main Content

com.mathworks.toolbox.javabuilder.MWArray Class

Namespace: com.mathworks.toolbox.javabuilder

Java class to serve as base for all MATLAB array types with native array handling

Description

Declaration

public abstract class MWArray extends java.lang.Object 
implements java.lang.Cloneable, java.lang.Comparable, java.io.Serializable, Disposable

The MWArray class is the base class for all MATLAB array types. This class stores a handle to a native MATLAB array and provides methods for querying the array's properties and accessing the array's data

Implemented Interfaces: Disposable, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

Direct Known Subclasses: MWCellArray, MWCharArray, MWJavaObjectRef, MWLogicalArray, MWMatrixRef, MWNumericArray, MWStringArray, MWStructArray

Class Attributes: ,

Creation

Constructors

public MWArray()

Properties

expand all

Public Properties

A convenient, efficient, and consistent way to represent an empty array as follows:

public static final MWArray EMPTY_ARRAY

Methods

expand all

Examples

collapse all

More About

expand all

Version History

Introduced in R2006a