Main Content

com.mathworks.toolbox.javabuilder.MWCharArray Class

Namespace: com.mathworks.toolbox.javabuilder

Java class to manage MATLAB character arrays

Description

Declaration

public class MWCharArray extends MWArray

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

Direct Known Subclasses: ,

Class Attributes: ,

Creation

Constructors

MWCharArray()

Creates an empty char array.

MWCharArray(char val)

Constructs a new char array that represents the primitive char argument.

MWCharArray(java.lang.Object val)

Constructs a char array that represents the Object argument.

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

Version History

Introduced in R2006a