xPC Target    

Changing Environment Properties with a Graphical Interface

xPC Target lets you define and change environment properties. These properties include the path to the C/C++ compiler, the host PC COM port, the logging buffer size, and many others. Collectively these properties are known as the xPC Target environment.

To change an environment property using the xPC Target GUI, use the following procedure:

  1. In the MATLAB Command Window, type
  1. MATLAB opens the xPC Target Setup window.

    The xPC Target Setup window has two sections:

    If your license does not include the xPC Target Embedded Option, the TargetBoot box is grayed out, with BootFloppy as your only selection. With the xPC Target Embedded Option, you have the additional choices of DOSLoader and StandAlone.

  1. Change properties in the environment by entering new property values in the text boxes or choosing items from the lists.
  1. After you make changes to the environment properties, you need to update the xPC Target environment. Updating makes your changes in the xPC Target Setup window equal to the current property values.

  1. Click the Update button.
  1. xPC Target updates the xPC Target environment and disables (grays out) the Update button. As long as the Update button is enabled, the xPC Target environment needs to be updated.


  Saving and Loading the Environment Properties Changing Environment Properties with a Command-Line Interface