User`s guide
Stand-Alone Target Setup
2 In the MATLAB Command Window, change folder on the host computer to
the folder that contains the kernel/target application files.
3 Create the f older C:\xpcfiles and copy files to that folder. For example,
type
f=xpctarget.ftp
f.mkdir('xpcfiles')
f.cd('xpcfiles')
f.put('autoexec.bat')
f.put('xpcboot.com')
f.put('xpc_osc3.rtb')
4 If you want your stand-alone application to run when you reboot your target
PC, remove the 3.5-inch disk or CD from the target PC, reboot the target
PC, and bring up the DOS prompt. For example, if you see the message for
selecting the operating system to start, select
Microsoft Windows.
Note If the target PC that you want to boot in Standalone mode was
previously booted from the network boot image, selecting the Enable
Standalone Mode check box should disable the network boot capability.
The boot process is stopped and a DOS prompt is displayed.
5 AttheDOSprompt,saveacopyofthetargetPCfileC:\autoexec.bat to
a backup file, such as
C:\autoexec_back.wrk.
6 Edit the target PC file C:\autoexec.bat to include the following lines.
Adding these commands to
C:\autoexec.bat directs the system to execute
the
autoexec.bat file located in C:\xpcfiles.
cd C:\xpcfiles
autoexec
5-11