MATLAB BUILDER JA 2 Guia do Utilizador Página 115

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 292
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 291 292

Comentários a estes Manuais

Sem comentários