xPC Target | ![]() ![]() |
Environment Properties for Serial Communication
The xPC Target environment is defined by a group of properties. These properties give xPC Target information about the software and hardware products that it works with. You might change some of these properties often, while others you would change only rarely.
After you have installed xPC Target, you can set the environment properties for the host and target computers. You need to change these properties before you can build and download a target application:
The xPC Target Setup window has two sections:
If your license does not include the embedded option, the TargetBoot list is disabled (grayed-out) with BootFloppy
as your only choice. With the xPC Target Embedded Option installed, you have the additional choices of DOSLoader
and StandAlone
.
VisualC
or Watcom
.
RS232
.
COM1
or COM2
for the connection on the host PC. xPC Target automatically determines the COM port you use on the target computer.
You do not have to exit and restart MATLAB after making changes to the xPC Target environment, even if you change the communication between the host and target from RS232 to TCP/IP. However, you have to recreate the target boot disk, and rebuild the target application from the Simulink model.
For more information on the xPC Target Environment, see Software Environment in the xPC Target User Guide documentation.
Your next task is to create a target boot disk. See Target Boot Disk.
![]() | Hardware for Serial Communication | Network Communication | ![]() |