User`s guide
Stand-Alone Target Setup
4-17
Stand-Alone Target Setup
StandAlone mode combines the target application with the kernel and boots
them together on the target PC from flash memory (or alternatively, the target
PC 3.5 inch disk drive). The host PC does not need to be connected to the target
PC. This section includes the following topics:
• “Updating Environment Properties” on page 4-17 — Select StandAlone mode
in the xPC Target Explorer window.
• “Adding Target Scope Blocks to Stand-Alone Applications” on page 4-18 —
Add target scope blocks to models to monitor signal data.
• “Creating a Kernel/Target Application” on page 4-21 — On the host PC,
create a stand-alone application.
• “Copying the Kernel/Target Application to Flash Disk” on page 4-22 — Copy
the combined xPC Target kernel and target application to the flash disk on
the target PC.
Updating Environment Properties
xPC Target uses the environment properties to determine what files to create
for the various target boot modes.
This procedure assumes you have serial or network communication working
correctly between your host computer and a target PC. It is helpful to
successfully create a target application with the
TargetBoot option in the xPC
Target Explorer
window set to BootFloppy before trying to create a
stand-alone application.
1 On the host computer, start MATLAB.
2 In the MATLAB window, type
xpcexplr
The xPC Target Explorer window opens.
3 In the xPC Target Explorer xPC Target Hierarchy pane, select a target PC
Configuration node.
4 From the Target boot mode list, select DOSLoader.