User`s guide
1 Getting Started
6 Add classes (optional).
7 Save the p roject by clicking the Save button in the toolbar.
8 Bu ild the component.
Click the Build
button
in the toolbar to start the build process.
Excel Builder c
opies intermediate so u rce files to
project_directory\src
and output file
s necessary for deployment (a DLL and a VBA file (
.bas)to
project_direc
tory
\distrib.
The Output pan
e shows the output of the build process and informs you of
any problems e
ncountered. The resulting DLL is automatically registered
on your system
.
9 Test, edit, and rebuild as necessary.
Using the mcc Command to Build a Component
Instead using the Deployment Tool, you can use the mcc command on the
MATLAB command line to build Excel Builder components. The following
sections provid e some examples of using the
mcc command. See the MATLAB
Compiler documentation for a complete description of the
mcc command
and its options.
Note If you use mcc,theproject_directory\src and
project_directory\distrib directories are not automatically
created. To create these directories and copy associated files to them, use
the
mcc command’s -d option.
The following is the general syntax to create Excel Builder components with
mcc:
mcc -W 'excel:<component_name>[,<class_name>[,<major>.<minor>]]'
The syntax uses the -W option, specifying an excel wrapper. You must specify
the name you want to assign the component (
<component_name>). If you do
1-6