MATLAB BUILDER EX 1 Guide de l'utilisateur Page 111

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 164
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 163 164

Commentaires sur ces manuels

Pas de commentaire