xPC Target | ![]() ![]() |
From xPC Target Block
This block behaves like a source and its output is usually connected to the input of a display device.
Because only one numerical value per signal is uploaded during a time step, the number of samples of the scope object is set to 1. The block uses the signal tracing capability of the xPC Target command-line interface and is implemented as an M-file S-function.
Block Parameters
xPC Target application name -- The function xpcsliface
automatically enters this name. It is the same name as the Simulink model that xPC Target uses to build the target application.
Signal name (block name) -- The function xpcsliface
automatically enters this name.
Observer sample time -- The function xpcsliface
automatically enters the sample time for the Simulink block with this signal. It can be equal to the model base sample time or a multiple of the base sample time.
![]() | To xPC Target Block | Interface with Dials & Gauges Blockset | ![]() |