User`s manual
7 ActiveX and DDE Support
7-4
•Properties
Radius (integer) - sets the radius of the circle drawn by the control
Label (string) - text to be drawn in the control
•Events
Click - fired when the user clicks on the control
One important characteristic of COM is that it defines an object model in which
objects support multiple interfaces. Some interfaces are standard interfaces,
which are defined by Microsoft and are part of ActiveX, and some interfaces are
custom interfaces, which are defined by individual component vendors. In
order to use any ActiveX object, you must learn about which custom interfaces
it supports, and the interface’s methods, properties, and events. The ActiveX
object’s vendor provides this information.
MATLAB ActiveX Support Overview
MATLAB supports two ActiveX technologies: ActiveX control containment and
ActiveX Automation. ActiveX controls are application components that can be
both visually and programmatically integrated into an ActiveX control
container, such as MATLAB figure windows. Some examples of useful ActiveX
controls are the Microsoft Internet Explorer Web Browser control, the
Microsoft Windows Communications control for serial port access, and the
graphical user interface controls delivered with the Visual Basic development
environment.
ActiveX Automation allows MATLAB to both control and be controlled by other
ActiveX components. When MATLAB is controlled by another component, it is
acting as an automation server. When MATLAB controls another component,
MATLAB is the automation client, and the other component is the automation
server.
MATLAB automation server capabilities include the ability to execute
commands in the MATLAB workspace, and to get and put matrices directly
from and into the workspace. MATLAB automation client capabilities allow
MATLAB, through M-code, to programmatically instantiate and manipulate
automation servers. The MATLAB automation client capabilities are a subset
of the MATLAB control containment support, since you use the automation
client capabilities to manipulate controls as well as automation servers. In
other words, all ActiveX controls are ActiveX automation servers, but not all
automation servers are necessarily controls.