User`s guide

Using Class Methods
Example. Construct an empty MWArray object:
MWArray A = new MWArray();
Methods to Create and Destroy an MWArray
Use these methods to destroy an object of class MWArray or any of its child
classes.
Method Description
“dispose” on
page 4-39
Frees the native M ATLAB array contained by this array.
“disposeArray”
on page 4-40
Frees all native MATLAB arrays contained in the input
object.
dispose. Th
is method destroys the native MATLAB a rray contained by the
array objec
t and frees the memory occupied by the array.
The prototy
pe for the
dispose method is as fo llows:
public void dispose()
Input Parameters
None
Example Constructing an MWArray Object
Construct and then destroy an MWArray object:
MWArray A = n
ew MWArray();
A.dispose(
);
4-39