User`s guide

setxpcenv
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
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 v alues.
Property values are not case sensitive.
Description Function to en te r new values for environment properti
es. If the new
value is different from the current value, the proper
ty is marked as
having a new value. Use the function
updatexpcenv to c
hange the
current properties to the new properties.
The env iro nment properties define communication be
tween the host
PC and target PC, the type of C compiler and its locat
ion, and the
type of target boot floppy created during the se tup
process. With
the exception of the
Version property, you can set
these properties
using the
xpcexplr function or the xPC Target Expl
orer window. An
understanding of the environment properties wil
l help you to correctly
configure the xPC Target environment.
Environment Property Description
BootFloppyLocation
Drive name for creation of 3.5-inch target boot disk.
CCompiler
Values are 'Watcom' and 'VisualC' .FromthexPCTarget
Explorer window compiler list, select either
Watcom or
VisualC.
18-131