User`s guide
1 Getting Star ted
4 While in MATLAB, type deploytool to open the Deployment Tool window.
The Deployment Tool opens as a dockable window in the MATLAB desktop,
and a menu labeled Project is added to the MATLAB menu bar.
5 Create a new project:
a. In the Deployme
nt To ol toolbar, click the New Project
icon.
As an alternati
ve, you can select File > N ew Deployment Project
in the MATLAB me
nu bar.
b. In the New Deplo
yment Project dialog box, select Standalone
Applications
, and enter the follow ing s ettings :
• In the Nam e fie
ld, enter
MagicExample.prj as the project name.
• In the Locatio
n field, enter the name of your work directory
followed by th
e project name.
In this exampl
e, that is
D:\Work\MagicExample. You can brows e to
adifferentdi
rectory if y ou choose.
c. Click OK.
MATLAB Compil
er displays the project folder (
MagicExample.prj)
in the Deploy
ment Tool window. The folder contains three folders,
which are emp
ty.
d. Drag the
magi
csquare.m
file from the C urrent Directory browser in
MATLAB to the
project folder in the D eploy ment Tool window.
MATLAB Compi
ler adds the M-file to the Main function folder.
6 Build the application as follows:
• In the Deploym ent Tool toolbar, click the Build Project
icon.
• As an alternative, you can select Tools > Build in the MATLAB menu
bar.
The b uild process begi ns, and a log of the build appears in the Deployment
Tool Output pane. The status of the process is displayed in the status bar
1-8