xPC Target    

xPC Target Demos

The xPC Target demos are used to demonstrate the features of xPC Target. But they are also M-file scripts that you can view to understand how to write your own scripts for creating and testing target applications.

The following table lists the demo scripts that we provide with xPC Target.

Demo
Filename
Parameter Sweep
parsweepdemo
Signal tracing using free-run mode
scfreerundemo
Signal tracing using software triggering
scsoftwaredemo
Signal tracing using signal triggering
scsignaldemo
Signal tracing using scope triggering
scscopedemo
Signal tracing using the target scope.
tgscopedemo

To locate or edit a demo script

  1. In the MATLAB window, type

    MATLAB displays the location of the M-file.

  1. Type

    MATLAB opens the M-file in a MATLAB editing widow.


 Test Functions Environment and System Function Reference