xPC Target |
 |
xPC Target Remote Control Tool
xPC Target offers a graphical user interface (GUI) for interacting with a target application. This GUI is built using xPC Target functions and MATLAB Handle Graphics®. To open the xPC Target GUI, in the MATLAB Command Window, type xpcrctool
.
The xPC Target Remote Control Tool includes the following functions:
- Environment -- Use the xPC Target Setup window to change properties in the xPC Target environment. Properties include: communication between the host and target computers, type and location of your C compiler, and target PC properties.
- Control -- Build, download, and run a target application. Change start and sample times without regenerating code, and get statistical performance information during or after the last run.
- Signal acquisition -- Use the xPC Target Simulink Viewer to interactively add scopes of type host or target, and add or remove signals. Use the xPC Target Scope Manager to set the triggering mode of a scope. A scope created on the target PC acquires data from the target application and stores the data for display on the host PC or target PC:
- For scopes of type host -- The Host Scope Manager periodically uploads data packets and displays them in a MATLAB figure.
- For scopes of type target -- The scope displays signal traces on the target PC screen. Because xPC Target uses highly optimized graphic routines, signal tracing has the same fast display and update rates that you normally observe when using a digital oscilloscope.
- Parameter tuning -- Use the xPC Target Simulink Viewer to interactively change tunable parameters in your target application.
| User Interaction | | MATLAB Command-Line Interface |  |