xPC Target    

Parameter Tuning with xPC Target Remote Control Tool

You can change parameters in your target application using the xPC Target Simulink Viewer whether the target application is stopped or running.

After you create and download a target application to the target PC, you can view signals. This procedure uses the Simulink model xpc_osc4.mdl as an example, and assumes that 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 and connects to the target application.

  1. From the Tools menu, click Tune Parameters.
  1. The xPC Target Simulink Viewer window opens with a diagram of your Simulink model.

  1. Move the mouse pointer over the blocks.

  1. Point to a block and right-click. For example, right-click over the Signal Generator block.
  1. The Block Parameters dialog box opens.

  1. Enter new parameters, and then click OK.
  1. The new parameter values are downloaded to the target application. If the target application is running, you can immediately see the effect of the change.


  Parameter Tuning Parameter Tuning with MATLAB