User`s guide
mcc
The -a switch also creates a .auth file for authorization purposes.
It ensures that the executable looks for the DLL- and H-files in the
exe_mcr\exe folder.
-b Generate Excel-Compatible Formula Function
Generate a Visual Ba s ic file (.bas) containing the Microsoft Excel
Formula Function interface to the COM object generated by M ATLAB
Compiler. Whe n imported into the workbook Visual Basic code, this
code allows the MATLAB function to be se en as a cell formula function.
This option requires MATLAB Builder for Excel.
-B Specify Bundle File
Replace the file on the mcc command line with the contents of the
specified file. Use
-B filename[:<a1>,<a2> ,... ,<an>]
The bundle file filename should contain only mcc comm and line
options and corresponding arguments and/or other filenames. The file
may contain other
-B options. A bundle file can include replacement
parameters for Compiler options that accept names and version
numbers. See “Using Bundle Files” on page 5-8 for a list of the bundle
files included with M ATLA B Compiler.
-c Generate C Code Only
When used w ith a macro option, generate C wrapper code but do not
invoke
mbuild, i.e., do not produce a standalone application. This option
is equivalent to
-T codegen placed at th e end of the mcc command line.
-d Specified Directory for Output
Place output in a specified directory. Use
-d directory
to direct the output files from the compilation to the directory specified
by the
-d option.
11-19