MATLAB BUILDER EX 1 User's Guide Page 111

  • Download
  • Add to my manuals
  • Print
  • Page
    / 164
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 163 164

Comments to this Manuals

No comments