User`s guide

6 Software Environment and Demos
Using Environment Properties and Functions
In this section...
“Introduction” on page 6-2
“Getting a List of Environment Properties for Default Target PCs” on
page 6-2
“Changing Environment Properties with xPC Target Explorer” on page 6-3
“Changing Environment Properties with a Command-Line Interface for
DefaultTargetPCs”onpage6-7
Introduction
The xP C Target environment defines the connections and communication
between the host and target computers. It also defines the build process
for a real-time application. Y ou can define the xPC Target e nvironment
through either the MATLAB interface or xPC Target Explorer. The xPC
Target environment provide s a number of demos that help you understand
the product.
Refer to the function
getxpcenv to list the environment variables for the
default target PC environment. See Chapter 7, “Working with Target PC
Environments” for a description of how you can manage multiple target PC
environments through the MATLAB interface.
To enter properties specific to your model and its build procedure, see
“Entering the Real-Time Workshop Parameters” in the xPC Target Getting
Started Guide. Thes e properties are saved with your Sim ulink model.
Getting a List of Environment Properties for Default
Target PCs
To use the xPC Target functions to change environment properties, you need
to know the names and allowed value s of these properties. Use the following
procedure to get a list of the property names, their allowed values, and their
current values:
1 In the MATLAB Command Window, type
6-2