xPC Target    

Signal Logging with xPC Target Remote Control Tool

You plot the outputs and states of your target application to observe the behavior of your model, or to determine the behavior when you vary the input signals and model parameters.

This procedure uses the model xpc_osc3.mdl as an example and assumes you have created a target application and downloaded it to the target PC. See xPC Target Application.

  1. In the MATLAB Command Window, type
  1. The xPC Target Remote Control Tool window opens, connects to the target PC, and displays information about a previously loaded target application.

  1. Select the Outputs check box and the Plot vs Sample option.

  2. From the toolbar, click the start button. The target application begins running on the target PC, and then stops when it reaches the stop time.
  3. Click the Plot Logging Data button.
  1. MATLAB opens a figure window and draws a plot of the outputs.


  Signal Logging Signal Logging with MATLAB