| 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 |
MATLAB command line
xpcbootdisk
Function to create an xPC Target boot floppy, CD or DVD boot image, network boot image, or DOS Loader files for the current xPC Target environment that has been updated with the function updatexpcenv. Use the setxpcenv function to set environment properties.
Creating an xPC Target boot floppy consists of writing the correct bootable kernel image onto the disk. You are asked to insert an empty formatted floppy disk into the 3.5-inch disk drive. At the end, a summary of the creation process is displayed.
Creating an xPC Target CD/DVD boot image consists of creating the correct bootable kernel image in a designated area. You can then burn the files to a blank CD/DVD. If you have Microsoft® Windows Vista™ or Microsoft Windows XP Service Pack 2 or 3 with Image Mastering API v2.0 (IMAPIv2.0), xpcbootdisk offers to create to the CD or DVD. Otherwise, you must use alternate third-party CD/DVD writing software to write ISO image files.
Creating an xPC Target network boot image consists of running xpcnetboot to start the network boot server process.
Creating xPC Target DOS Loader files consists of creating the correct files in a designated area. You can then copy the files to the target PC flash disk.
If you update the environment, you need to update the target boot floppy, CD boot image, network boot image, or DOS Loader files for the new xPC Target environment with the function xpcbootdisk.
To create a boot floppy disk, in the MATLAB window, type:
xpcbootdisk
The xPC Target functions setxpcenv, getxpcenv, and updatexpcenv.
The procedures Changing Environment Properties with xPC Target Explorer and Changing Environment Properties with a Command-Line Interface for Default Target PCs.
![]() | xpc | xpcbytes2file | ![]() |

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 |