User`s guide
mcc
A-5
h
Compiles helper functions
I directory
Adds new directory to path
l
Generates code that reports
file and line numbers on
run-time errors
Equivalent to:
-A debugline:on
L language
Specifies output target
language
language = C
Cpp
m
Macro to generate a C
stand-alone application
Equivalent to:
-W main -L C -t -T link:exe
-h libmmfile.mlib
M string
Passes string to mex or
mbuild
Use t o define compile-time options.
o outputfile
Specifies name/location of
final executable
O option:[on|off]
O all
O none
O list
Build an optimized
executable.
option =
fold_scalar_mxarrays
fold_non_scalar_mxarrays
array_indexing
optimize_integer_for_loops
optimize_conditionals
p
Macro to generate a C++
stand-alone application
Equivalent to:
-W main -L Cpp -t -T link:exe
-h libmmfile.mlib
S
Macro to generate Simulink
S-function
Equivalent to:
-W simulink -L C -t -T link:mex
libmatlbmx.mlib
t
Translates M code to C/C++
code
Option Description Comment/Options