User`s guide
Embedded Option Setup
4-9
Embedded Option Setup
This section includes the following topics:
• “Updating the xPC Target Environment” on page 4-9
• “Creating a DOS System Disk” on page 4-11
Updating the xPC Target Environment
After the xPC Target Embedded Option software has been correctly installed,
the xPC Target environment, visible through
xpcexplr or getxpcenv, contains
two additional property choices for DOSLoader or StandAlone
, in addition to
the default
BootDisk that you normally use with xPC Target.
It is assumed that the xPC Target environment is already set up and working
properly with the xPC Target Embedded Option enabled. If you have not
already done so, confirm this now.
You can use the function
getxpcenv to see the current selection for TargetBoot,
or you can view this through the
xPC Target Explorer window. Start
MATLAB and execute the function
xpcexplr
In the xPC Target Explorer xPC Target Hierarchy pane, select a target PC
Configuration node. You see the property Target boot mode, as well as the
currently selected value. The choices are
• BootFloppy — Standard mode of operation when xPC Target Embedded
Option is not installed.
• DOSLoader — For invoking the kernel on the target PC from DOS.
• StandAlone — For invoking the kernel on the target PC from DOS and
automatically starting the target application without connecting to a host
computer. With this mode, the kernel and the target application are
combined as a single module that is placed on the boot device.