User`s guide

4 Embedded Option
4-6
StandAlone Mode Overview
The primary purpose of the StandAlone mode is to allow you to use a target PC
as a stand-alone system. StandAlone mode enables you to deploy control
systems, DSP applications, and other systems on PC hardware for use in
production applications using PC hardware. Typically these production
applications are found in systems where production quantities are low to
moderate.
The following summarizes the sequence of events for StandAlone mode. For a
detailed step-by-step procedure, see “Stand-Alone Target Setup” on page 4-17.
1 Format a 3.5 inch disk.
2 Copy a version of DOS onto this disk and insert this DOS disk into the host
PC 3.5 inch disk drive.
3 From the host PC MATLAB window, type xpcexplr.
4 In the xPC Target Explorer xPC Target Hierarchy pane, select a target PC
Configuration node.
5 From the Target boot mode list, select StandAlone.
6 Select and build a model.
This step creates a directory in the current working directory named
modelname_xpc_emb.
7 Copy the contents of model_name_emb to the DOS disk. The disk should now
contain the following files:
- DOS files — Provide your own copy of DOS to boot the target PC. For
example, you can acquire DOS from FreeDOS.
The MathWorks has tested xPC Target with the following: FreeDOS Beta
8 (“Nikita”) distribution, MS-DOS (6.0 or higher), PC DOS, and Caldera
OpenDOS.
-
*.rtb — This file contains the xPC Target kernel. It also contains, as
applicable, specifications such as serial or TCP/IP communications and the
IP address of the target PC.