Download External Interfaces

Transcript
Additional COM Client Information
"ActiveX - invalid argument type or value".
MATLAB Data Type
Converted to COM Data Type
double
VT_R8 (8 byte real)
NaN
VT_ERROR (SCODE)
CHAR
VT_BSTR (OLE Automation string)
SINGLE
VT_R4 (4 byte real)
INT8
VT_I1 (signed char)
UINT8
VT_UI1 (unsigned char)
INT16
VT_I2 (2 byte signed int)
UINT16
VT_UI2 (unsigned short)
INT32
VT_I4 (4 byte signed int)
UINT32
VT_UI4 (unsigned long)
INT64
VT_I8 (signed 64-bit int)
UINT64
VT_UI8 (unsigned 64-bit int)
Cell Array
VT_SAFEARRAY(VARIANT) (use VT_ARRAY in VARIANT)
Logical
VT_BOOL (VARIANT_BOOL) True=-1, False=0
Handle
VT_DISPATCH (IDispatch *)
Using MATLAB as a DCOM Client
Distributed Component Object Model (DCOM) is a protocol that allows clients
to use remote COM objects over a network. Additionally, MATLAB can be
used as a DCOM client with remote Automation servers if the operating
system on which MATLAB is running is DCOM enabled.
Note If you use MATLAB as a remote DCOM server, all MATLAB windows
will appear on the remote machine.
8-99