User`s guide

4 Bo oting from a DOS Device
While loaded in memo ry, the D OS partition must not overlap the address
range o f a target application.
To satisfy these restrictions:
- Do not use additional memory managers like emm386 or qemm.
- Avoid any util ities that attempt to load i n high memory (for ex ample,
himem.sys). If the target PC DO S environment does not use a
config.sys file or m emory manager entries in the autoex ec. bat file,
there should typically be no problems when starting the xPC Target
software.
Creating a Target Application for DOSLoader Mode
After booting the target PC using DOSLoader mode, create a target
application on a host PC and download it to the target PC.
Set the Simulink and Real-Time Workshop parameters for co de generation
with the xPC Target software in your Simulink model. Next, build and
download the application to the target PC.
1 In the MATLAB Command Window, typ e the name of a Simulink model.
For example:
xpc_osc3
A S imulink window opens with the model.
2 From the Tools menu, select Real-Time Workshop,andthenclickBuild
Model.
The Real-Time Workshop and xPC Target products create a target application
and d ow nload it to your target.
Creating DOSLoader F iles with a Command-Line
Interface
To create DOSLoader files for the current xPC Target environment and use
them to boot the target PC, use the follow ing procedure:
1 In the MATLAB Command W indow, type:
4-4