User`s guide
mcc
7-43
-c (C Code Only). When used with a macro option, generate C code but do not
invoke
mex or mbuild, i.e., do not produce a MEX-file or stand-alone
application. This is equivalent to
-T codegen placed at the end of the mcc
command line.
-d <directory> (Output Directory). Place the output files from the compilation in the
directory specified by the
-d option.
-h (Helper Functions). Compile helper functions. Any helper functions that are
called will be compiled into the resulting MEX or stand-alone application. The
-m option automatically compiles all helper functions, so -m effectively calls -h.
Using the
-h option is equivalent to listing the M-files explicitly on the mcc
command line.
macro_option_m -W main -L C -t -T link:exe -h libmmfile.mlib
macro_option_p -W main -L cpp -t -T link:exe -h libmmfile.mlib
macro_option_S -W simulink -L C -t -T link:mex libmatlbmx.mlib
macro_option_x -W mex -L C -t -T link:mexlibrary libmatlbmx.mlib
opt_bundle_all -O fold_scalar_mxarrays:on
-O fold_non_scalar_mxarrays:on
-O optimize_integer_for_loops:on
-O array_indexing:on
-O optimize_conditionals:on
opt_bundle_none -O fold_scalar_mxarrays:off
-O fold_non_scalar_mxarrays:off
-O optimize_integer_for_loops:off
-O array_indexing:off
-O optimize_conditionals:off
-O speculate:off
pcode -t -L P
sgl -m -W mainhg libmwsglm.mlib
sglcpp -p -W mainhg libmwsglm.mlib
Bundle File Name Contents