MATLAB BUILDER EX 1 Guia do Utilizador Página 115

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 114
Data Conversion Rules
COM VARIANT to MATLAB Conversion Rules (Continued)
VARIANT Type
MATLAB Data Type
(scalar or array
data) Comments
VT_INT int32
VT_UINT uint32
VT_DECIMAL double
VT_BOOL logical
VT_DISPATCH
(varies)
IDispatch* pointers are treated w ithin
the context of what they point to. Objects
must be supported types with k nown data
extraction and conve rsio n rule s, or expose
a generic
Value property that points to a
single
VARIANT type. D ata extracted from
an object is converted based upon the rules
for the particular
VARIANT obtained.
Currently, support exists for Excel
Range
objectsaswellasExcelBuildertypes
MWStruct, MWComplex, MWSparse,and
MWArg. See “Utility Library Cla sses” on
page C-3 for information on Excel Builder
types.
<anything>|VT_BYREF
(varies)
Pointers to any of the basic types are
processed according to the rules for what
they point to. The resulting MATLAB
array contains a deep copy of the values.
<anything>|VT_ARRAY
(varies)
Multidi m ensional
VARIANT arrays convert
to multidime nsional MATLAB arrays, e ach
element converted according to the rules for
the basic types. Multidi mensional
VARIANT
arrays of type VT_VARIANT|VT_ARRAY
convert to multidimensional cell arrays,
each cell converted according to the rules
for that specific type.
B-11
Vista de página 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 163 164

Comentários a estes Manuais

Sem comentários