User`s guide
mcc
7-38
-l (Line Numbers) . Generate C/C++ code that prints filename and line numbers
on run-time errors. This option flag is useful for debugging, but causes the
executable to run slightly slower. This option is equivalent to
mcc -A debugline:on
-L <language> (Target Language).
Specify the target language of the compilation.
Possible values for language are
C or Cpp. The default is C. Note that these
values are case insensitive.
-O <option> (Optimization Options). Optimize your M-file source code so that the
performance of the generated C/C++ code may be faster than the performance
of the M-code in the MATLAB interpreter. Table 7-9, Optimization Options,
shows the available options.
page-width:n
Sets maximum width of generated code to n,
where
n is an integer. The default width is 80.
statement-indent:n
Sets the number of spaces of indentation for all
statements to
n, where n is an integer. The
default indent is 2.
Table 7-9: Optimization Options
<Option> Description
-O list
Lists all available optimizations.
-O all
Turns on all optimizations; all is the
default. Equivalent to
-B opt_bundle_all.
Table 7-8: Formatting Options (Continued)
<Option> Description