xPC Target    

Signal Monitoring with MATLAB

Signal monitoring is the process for acquiring signal data during a real-time run without time information. The advantage with signal monitoring is that there is no additional load on the real-time tasks. Use signal monitoring to acquire signal data without creating scopes that run on the target PC.

After you start running a target application, you can use signal monitoring to get signal data. This procedure uses the model xpc_osc3.mdl as an example, and assumes you created and downloaded the target application to the target PC:

  1. To get a list of signals, type either
  1. The MATLAB window displays a list of the target objects properties for the available signals. For example, the signals for the model xpc_osc3.mdl are shown below.

The signal names (S0, S1 . . .) are properties of a target object. See also Signal Tracing with MATLAB.

  1. To get the value of a signal, in the MATLAB Command Window, type
  1. MATLAB displays the value of the signal S1.


  Signals and Parameters Signal Tracing