External Interfaces |
This section introduces the MATLAB functions you need to create, manipulate, and destroy COM control and server objects. These objects are instances of the MATLAB COM class. The topics covered here are
MATLAB includes three demos showing how to use the COM client interface. To run any of the demos, click on the Demos tab in the MATLAB Help browser. Then click to expand the folder called Automation Client Interface (COM).
Creating the Server Process -- an Overview
MATLAB provides two functions to enable the MATLAB COM client to create an instance of the COM component in a server process:
actxcontrol
-- Creates an ActiveX control in a MATLAB figure window.
actxserver
-- Creates an in-process server for a dynamic link library (DLL) component or an out-of-process server for an executable (EXE) component.
The diagram below shows the basic steps in creating the server process. For more information on how MATLAB establishes interfaces to the resultant COM object, see Getting Interfaces to the Object.
Registering Controls and Servers | Creating an ActiveX Control |
© 1994-2005 The MathWorks, Inc.