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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 213
4 Using MWArra y Classes
Method Description
“dispose” on
page 4-138
Frees the native MATLAB array contained by this array.
“disposeArray”
on page 4-138
Frees all native MATLAB arrays contained in the input
object.
dispose. This method frees the native MATLAB array contained by this
array. The
dispose method of MWCellArray overrides the dispose method
of class
MWArray.
The prototype for the
dispose method is as fo llows:
public void dispose()
All MWArray references returned by get(int), toArray(),orgetData() are
also disposed of.
Input Parameters
None
Example Disposing of a Cell Array Object
Create a 2-by-3 MWCellArray object and then dispose of it.
int[] cdims = {2, 3};
MWCellArray C = new MWCellArray(cdims);
C.dispose();
disposeArray. MWCellArray inherits this method from the MWArray class.
Methods to Return Information About an MWCellArray
Use these methods to return informatio n about an object of class MWCellArray.
4-138
Przeglądanie stron 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag