User`s guide

xPC Target Interface Blocks to Simulink Models
8-5
To xPC Target Block
This block behaves as a sink and usually receives its input data from a control
device. The purpose of this block is to write a new value to a specific parameter
on the target application.
This block is implemented as an M-file S-function. The block is optimized so
that it only changes a parameter on the target application when the input
value differs from the value that existed at the last time step. This block uses
the parameter downloading feature of the xPC command-line interface. This
block is available from the
xpclib/Misc block sublibrary. See “To xPC Target”
on page 34-12 in the xPC Target I/O reference documentation for further
configuration details.
Control device
block
To xPC Target
block
Host PC Target PC
Parameter
xPC Target application
Simulink instrumentation model
Control device
block
To xPC Target
block
Host PC Target PC
Parameter
xPC Target application
Simulink instrumentation model