MATLAB BUILDER JA 2 Guide de l'utilisateur Page 115

  • 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 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
Vue de la page 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 291 292

Commentaires sur ces manuels

Pas de commentaire