MATLAB BUILDER JA 2 Betriebsanweisung Seite 115

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 292
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 114
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
Seitenansicht 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 291 292

Kommentare zu diesen Handbüchern

Keine Kommentare