xPC Target    

Displaying Target Object Properties

You might want to list the target object properties to monitor a target application. The properties include the execution time, and average task execution time.

After you build a target application and target object from a Simulink model, you can list the target object properties. This procedure uses the default target object name tg as an example:

  1. In the MATLAB window, type
  1. The current target application properties are uploaded to the host PC, and MATLAB displays a list of the target object properties with the updated values.

    Note the target object properties for TimeLog, StateLog, OutputLog, and TETLog are not updated at this time.

  1. Type
  1. The Status property changes from stopped to running, and the log properties change to Acquiring.

For a list of target object properties with a description, see Target Object Properties.


  Using Target Objects Setting Target Object Properties from the Host PC