User`s guide
Stand-Alone Target Setup
Updating Enviro
nment Properties
The xPC Target so
ftware uses the environment properties to determine what
files to create f
or the v arious target boot modes.
This procedure
assumes you have serial or network communication working
correctly bet
ween your host computer and a target PC.
1 On the host com
puter, start the MATLAB interface.
2 In the MATLAB window, type
xpcexplr
The xP C Target E xplorer window opens.
3 In the xPC Target Explorer xPC Target Hierarchy pane, select a target
PC
Configuration node.
4 Click the Standalone tab.
The xPC Target software updates the environment p roperties, and the
build process is ready to create a stand-alone kernel/target application. See
“Creating a Kernel/Target Application” on page 5-9. For Standalone mode,
you do not create an xPC Target boot disk or network boo t image. Instead,
you copy files created from the build process to the targ et PC hard drive.
Creating a Kernel/Target Application
UsethexPCTargetsoftwarewithStandalonemodetocreateacombined
kernel and target application with utility files. A combined kernel and target
application allows you to disconnect your target PC from a ho st PC and run
stand-alone applications.
After you set the Simulink and Real-Time Workshop parameters for code
generation with the xPC Target software in your Simulink model, you can use
the xPC Target software with Standalone mode to create a target application:
1 IntheMATLABwindow,typethenameofaSimulinkmodel.Forexample,
type
xpc_osc3
5-9