User`s guide
A MATLAB Compiler Quick Reference
mcc
Bold entries in the Comment/Options column indicate default values.
Option Description Comment/Options
-a filename
Add f ilen ame to the CTF
archive.
None
-b
Generate Excel compatible
formula function.
Requires MATLAB Builder for Excel
-B
filename[:arg[,arg]]
Replace -B filename on the
mcc command line with the
contents of
filename.
Thefileshouldcontainonly
mcc
command-line options. These are
MathWorks included options files:
•
-B csharedlib:foo —Cshared
library
•
-B cpplib:foo —C++library
-c
Generate C wrapper code. Equivalent to
-T codegen
-d directory
Place output in specified
directory.
None
-e
Suppresses appearance of
the MS-DOS Command
Window when generating a
standalone application.
Use
-e in place o f the -m option.
Available for Windows only. Use
with
-R option to generate error
logging. Equiva lent to
-W WinMain -T
link:exe
-f filename
Use the specified option s
file,
filename, when calling
mbuild.
mbuild -setup is recommended.
-F project_name.prj
Use the specifie d p roject f il e
as input to
mcc.
When using
-F, n o other arguments can
be invoked against
mcc.
-g
Generate debugging
information.
None
-G
Same as -g
None
A-4