MATLAB BUILDER EX 1 Guía de usuario Pagina 111

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 164
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 110
Data Conversion Rules
MATLAB to COM VARIANT Conversion Rules (Continued)
MATLAB Data
Type
VARIANT Type for
Scalar Data
VARIANT Type for
Array Data Comments
double
A real 1-by-1 double
matrix converts to
a
VARIANT of type
VT_R8.Acomplex
1-by-1 double matrix
converts to a
VARIANT
of type VT_DISPATCH.
Areal
multidimensional
double matrix converts
to a
VARIANT of type
VT_R8|VT_ARRAY.
Acomplex
multidimensional
double 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.)
single
A real 1-by-1 single
matrix converts to a
VARIANT of type VT_R4.
A c om p le x 1-by-1 single
matrix converts to
a
VARIANT of type
VT_DISPATCH.
Areal
multidimensional
single matrix converts
to a
VARIANT of type
VT_R4|VT_ARRAY.
Acomplex
multidimensional
single 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.)
int8
Areal1-by-1int8
matrix converts to a
VARIANT of type VT_I1.
A complex 1-by-1
int8
matrix converts to
a
VARIANT of type
VT_DISPATCH.
Areal
multidimensional
int8
matrix converts to
a
VARIANT of type
V
T_I1|VT_ARRAY.
Acomplex
multidimensional
int8
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.)
B-7
Vista de pagina 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 163 164

Comentarios a estos manuales

Sin comentarios