User`s guide
setxpcenv
14-97
The function setxpcenv works similarly to the set function of the MATLAB
Handle Graphics® system. Call the function
setxpcenv with an even number
of arguments. The first argument of a pair is the property name, and the second
argument is the new property value for this property.
Using the function
setxpcenv without arguments returns a list of allowed
property values in the MATLAB window.
Examples List the current environment properties.
setxpcenv
Change the serial communication port of the host PC to COM2.
setxpcenv('HostCommPort','COM2')
EmbeddedOption
Values are 'Disabled' and 'Enabled'. This
property is read only.
Note that the xPC Target Embedded Option is
enabled only if you purchase an additional
license.
TargetBoot
Values are 'BootFloppy', 'DOSLoader', and
'StandAlone'.
From the xPC Target Explorer window
Target
boot mode
list, select BootFloppy, DOSLoader,
or
StandAlone.
If your license file does not include the license
for the xPC Target Embedded Option, the
Target boot mode
box is disabled, with
BootFloppy as your only selection. With the
xPC Target Embedded Option licensed and
installed, you have the additional choices of
DOSLoader and StandAlone.
Environment Property Description