| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
| On this page… |
|---|
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 Standalone, in addition to the default BootDisk that you normally use with the xPC Target software.
It is assumed that the xPC Target environment is already set up and working properly with the xPC Target Embedded Option product 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 the MATLAB interface and execute the function
xpcexplr
In the xPC Target Explorer xPC Target Hierarchy pane, select a target PC Configuration node. You see the boot mode tabs. The choices are
Boot Floppy — For creating a 3.5-inch target boot disk.
CD Boot — For creating a boot image that you can burn onto a CD for target boot CD.
DOS Loader — 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.

Network Boot — For creating a boot image that you can boot from within a dedicated network.
In the Configuration node, select Standalone. The xPC Target environment is updated, but you do not create a new target boot disk. Upon building your next real-time application, all necessary xPC Target files are saved to a subfolder below your current working folder. This subfolder is named with your model name with the string '_xpc_emb' appended, such as xpcosc_xpc_emb.
For more detailed information about how to use the xPC Target Explorer window, see xPC Target Explorer in the xPC Target Getting Started Guide.
When using Standalone mode, you must first boot your target PC with DOS. You can use Standalone mode from a boot device such as flash disk or a hard disk drive.
To boot DOS with a target boot disk, a minimal DOS system is required on the boot disk. With DOS, you can create a DOS boot disk using the command
sys A:
Note The xPC Target Embedded Option product does not include a DOS license. You must obtain a valid DOS license for your target PC. |
It is helpful to copy additional DOS utilities to the boot disk, including
A DOS editor to edit files
The format program to format a hard disk or flash memory
The fdisk program to create partitions
The sys program to transfer a DOS system onto another drive, such as the hard disk drive
A config.sys file is not necessary. The autoexec.bat file should be created to boot the loader or a stand-alone xPC Target application automatically. This is described in the following sections.
![]() | xPC Target Embedded Option Modes | Stand-Alone Target Setup | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |