User`s guide
mcc
-m Generate a Standalone Application
Macro to produce a standalone application. This macro is equivalent to
-W main -T link:exe
Use the -e option instead of the -m option to gene rate a standalone
application while suppressing the appearance of the MS-DOS Command
Window.
-M Direct Pass Through
Define compile-time options. Use
-M string
to pass strin g directly to the mbuild script. This p rovides
a usef ul mech anism for def ining compile-ti me op t ions, e.g.,
-M "-Dmacro=value".
Note Multiple -M options do n ot accumulate; only the rig htmost -M
option is used.
-N Clear Path
Passing -N effectively clears the path o f all directories exce pt the
following core directories (this list is subject to change over time):
•
matlabroot/toolbox/matlab
• matlabroot/toolbox/local
• matlabroot/toolbox/compiler/depl oy
It also retains all subdirectories of the above list that appear on the
MATLAB path at compile time. Inclu ding
-N on the command line
allows you to replace directories from the original path, while retaining
11-22