User`s guide
xPC Target™ Interfac e Bloc ks to Simulink
®
Models
target application, and you use this model to select the parameters and
signals you want to connect to a custom graphical interface.
Creating a target application model is the first step you need to do before you
can tag block parameters and block signals for creating a custom graphical
interface.
See “Marking Block Parameters” on page 10-7 and “Marking Block Signals” on
page 10-9 for descriptions of how to mark block properties and block signals.
Marking Block Parameters
Tagging parameters in your Simulink model allows the function xpcsliface
to create To xPC Target interface blocks. These interface blocks contain the
parameters you connect to control devices in your user interface model.
After you create a Simulink model, you can mark the block parameters. This
procedure uses the model
xpctank.mdl as an example.
1 Open a Simulink model. For example, in the M ATLA B Command Window,
type
xpctank
2 P oint to a Simulink bl ock, and then right -cl ick.
3 From the m enu, click Block Properties.
A B lo ck properties dialog box opens.
10-7