MATLAB BUILDER JA 2 Guida Utente Pagina 140

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 292
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 139
4 Using MWArra y Classes
To construct an uninitialized real or complex numeric array, use the following:
newInstance(int[] dims, MWClassID classid, MWComplexity cmplx)
To construct and initialize a real numeric array, use
newInstance(int[] dims, Object rData, MWClassID classid)
To construct and initialize a complex numeric array, use
newInstance(int[] dims, Object rData, Object iData,
MWClassID classid)
Input Parameters
dims
Array of nonnegative dimension sizes
classId
MWClassID
representing the MATLAB type of the array
rData
Datatoinitializetherealpartofthearray.YoumustformattherData array
in column-wise order.
iData
Data to initialize the im aginary part of the a rray. You must format the iData
array in column-wise order.
Valid types for
realData and imagData are as follows:
double[]
float[]
long[]
int[]
4-64
Vedere la pagina 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 291 292

Commenti su questo manuale

Nessun commento