User`s guide

Table Of Contents
Using Your Own ActiveX Control
3-33
In-Block Control
The In-block control check box determines whether the ActiveX Control block
displays an ActiveX Control block or is connected to an ActiveX Control block
somewhere else. The ActiveX Control block can be in the same model window
or in a different subsystem, model, or MATLAB figure.
If checked, the control whose name is specified in the
Program ID field appears
on the ActiveX Control block.
If unchecked, the block is connected to the ActiveX control whose handle is
specified in the
Handle location field (this field appears when you uncheck the
box):
If the window is a MATLAB figure window, specify the name of a function
whose return value is the figure handle. You can also specify initialization
commands in the function to set the initial conditions of the ActiveX Control
block.
If the window contains a Simulink subsystem, the ActiveX Control block
must be displayed on an ActiveX Control block contained in that subsystem.
Specify the path of the ActiveX Control block on which the control is to
appear.
For example, if a model named
my_model has a subsystem called
sub_disp_signals that contains an ActiveX Control block named signal1,
the path is
my_model/sub_disp_signals/signal1.
Using this feature is useful in a complex model that displays signals in
multiple subsystems on ActiveX Control blocks. If you feed the signals into
ActiveX Control blocks but display the ActiveX Control blocks themselves in a
separate system or window, it is not necessary to have the subsystems open to
see the results. For more information, see the section Chapter 4, “Placing
ActiveX Controls in a Different Window.”
Border
The Border check box determines whether the block displays a border around
the ActiveX Control block.