User`s guide
5 Software Environment and Demos
5-2
Using Environment Properties and Functions
Use the xPC Target Explorer window or the MATLAB Command Window to
enter environment properties that are independent of your model. This section
includes the following topics:
• “Getting a List of Environment Properties” on page 5-2
• “Changing Environment Properties with xPC Target Explorer” on page 5-3
• “Changing Environment Properties with a Command-Line Interface” on
page 5-6
Refer to the function
getxpcenv of the environment properties and functions.
To enter properties specific to your model and its build procedure, see
“Entering the Real-Time Workshop Parameters” on page 3-42. These
properties are saved with your Simulink model.
Getting a List of Environment Properties
To use the xPC Target functions to change environment properties, you need
to know the names and allowed values 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 window, type
setxpcenv
MATLAB displays a list of xPC Target environment properties and the
allowed values. For a list of the properties, see the function
getxpcenv.
2 Type
getxpcenv
MATLAB displays a list of xPC Target environment properties and the
current values.
Alternatively, you can use the
xPC Target Explorer window to view and
change environment properties.