MATLAB BUILDER EX 1 Guia do Utilizador Página 113

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 112
Data Conversion Rules
MATLAB to COM VARIANT Conversion Rules (Continued)
MATLAB Data
Type
VARIANT Type for
Scalar Data
VARIANT Type for
Array Data Comments
int32
A1-by-1int32 matrix
converts to a
VARIANT of
type
VT_I4.Acomplex
1-by-1
int32 matrix
converts to a
VARIANT
of type VT_DISPATCH.
A multidimensional
int32 matrix converts
to a
VARIANT of type
VT_I4|VT_ARRAY.
Acomplex
multidimensional
int32 matrix converts
to a
VARIANT of type
VT_DISPATCH.
Complex arrays are
passed to and from
compiled M-functions
using the
MWComplex
class. (See “Class
MWComplex” on page
C-25.)
uint32
A1-by-1uint32 matrix
converts to a
VARIANT of
type
VT_UI4.Acomplex
1-by-1
uint32 matrix
converts to a
VARIANT
of type VT_DISPATCH.
A multidimensional
uint32 matrix converts
to a
VARIANT of type
VT_UI4|VT_ARRAY.
Acomplex
multidimensional
uint32 matrix converts
to a
VARIANT of type
VT_DISPATCH.
Complex arrays are
passed to and from
compiled M-functions
using the
MWComplex
class. (See “Class
MWComplex” on page
C-25.)
Function handle
VT_EMPTY VT_EMPTY
Not supported
Java class
VT_EMPTY VT_EMPTY
Not supported
User class
VT_EMPTY VT_EMPTY
Not supported
logical
VT_Bool VT_Bool|VT_ARRAY
ThefollowingtableliststherulesforconversionfromCOMtoMATLAB.
B-9
Vista de página 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 163 164

Comentários a estes Manuais

Sem comentários