MATLAB BUILDER JA 2 Guide de l'utilisateur Page 214

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 292
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 291 292

Commentaires sur ces manuels

Pas de commentaire