User`s manual

Additional ActiveX Client Information
7-13
MATLAB has been tested as a DCOM server with Windows NT 4.0 only.
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.
MATLAB ActiveX Support Limitations
The following is a list of limitations of MATLAB ActiveX support:
MATLAB only supports indexed collections.
ActiveX controls are not printed with figure windows.
MATLAB does not support event arguments passed by reference.
MATLAB does not support returning values from event handler functions.
The position vector of a control cannot be changed or queried.
MATLAB does not support method or event arguments passed by reference.
MATLAB Sample Control
MATLAB ships with a very simple example ActiveX control that draws a circle
on the screen, displays some text, and fires a clicked event when the user clicks
on the control. This control makes it easy to try out ActiveX control support
with a known control. The control can be created by running the
mwsamp file in
the
winfun directory.
The control is stored in the MATLAB
bin, or executable, directory along with
the control’s type library. The type library is a binary file used by ActiveX tools
to decipher the control’s capabilities.
Using MATLAB As an Automation Client
This example uses MATLAB as an automation client and Microsoft Excel as
the server. It provides a good overview of typical functions. In addition, it is a
good example of using the automation interface of another application.