User`s guide

mcc
Option Description Comment/Options
-I directory
Add directory to search path
for M-files.
MATLAB p ath i s automatically
included when running from MATLAB,
but not when running from a DOS/UNIX
shell.
-l
Macro to create a function
library.
Equivalent to
-W lib -T link:lib
-m
Macro to generate a C
standalone application.
Equivalent to
-W main -T link:exe
-M string
Pass string to mbu ild.
Usetodefinecompile-timeoptions.
-N
Clear the path of all but
a minimal, required set of
directories.
None
-o outputfile
Specify name of final output
file.
Adds appropriate extension
-p directory
Add directory to
compilationpathinan
order-sensitive con text.
Requires
-N option
-R optio n
Specify run-time options for
MCR.
option =
-nojvm
-nojit
-S
Create Singleton MCR. Requires MATLAB Builder for .NET
-T targe t
Specify output stage.
target = codegen
compile:bin
link:bin
where bin = exe
lib
-v
Verbose; Display compilation
steps
None
A-5