User`s guide

setxpcenv
14-90
14setxpcenv
Purpose Change xPC Target environment properties
Syntax MATLAB Command Line
setxpcenv('property_name', 'property_value')
setxpcenv('prop_name1', 'prop_val1', 'prop_name2', 'prop_val2')
setxpcenv
Arguments
Description Function to enter new values for environment properties. If the new value is
different from the current value, the property is marked as having a new value.
Use the function
updatexpcenv to change the current properties to the new
properties.
The environment properties define communication between the host PC and
target PC, the type of C compiler and its location, and the type of target boot
floppy created during the setup process. With the exception of the
Version
property, you can set these properties using the
xpcexplr function or the xPC
Target Explorer window. An understanding of the environment properties will
help you to correctly configure the xPC Target environment.
property_name Not case sensitive. Property names can be shortened
as long as they can be differentiated from the other
property names.
property_value Character string. Type setxpcenv without arguments
to get a listing of allowed values. Property values are
not case sensitive.
Environment Property Description
Version
xPC Target version number. Read only.
CCompiler
Values are 'Watcom' and 'VisualC'. From the
xPC Target Explorer window compiler list,
select either
Watcom or VisualC.