MATLAB BUILDER JA 2 Podręcznik Użytkownika Strona 115

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag