MATLAB BUILDER EX 1 Guida Utente Pagina 128

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 127
B Data Conversion
B-10
Table B-3: COM VARIANT to MATLAB Conversion Rules
VARIANT Type MATLAB Data
Type (scalar or
array data)
Comments
VT_EMPTY
N/A Empty array created.
VT_I1 int8
VT_UI1 uint8
VT_I2 int16
VT_UI2 uint16
VT_I4 int32
VT_UI4 uint32
VT_R4 single
VT_R8 double
VT_CY double
VT_BSTR char
A VARIANT of type VT_BSTR converts to a 1-by-L
MATLAB
char array, where L = the length of the
string to be converted. A
VARIANT of type
VT_BSTR|VT_ARRAY converts to a MATLAB cell
array of 1-by-L
char arrays.
VT_ERROR int32
Vedere la pagina 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 181 182

Commenti su questo manuale

Nessun commento