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 are provided 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
- In the MATLAB window, type
- MATLAB displays the location of the M-file.
- Type
- MATLAB opens the M-file in a MATLAB editing window.
| Test Functions | | getxpcenv |  |