MATLAB COMPILER RELEASE NOTES User's Guide Page 219

  • Download
  • Add to my manuals
  • Print
  • Page
    / 264
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 218
mcc
7-41
-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 t h e targ et language of the compila tion.
Possible values for la nguag e are
C or Cpp. The default is C.Notethatthese
values are case insensitive.
-O <option> (Optimization Options). Optimizes 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. This table shows the available
options.
-u (Number of Inputs). Provide more contro l ov er the numb er of valid inputs for
yourSimulink S-function.Thisoptionspecifically setsthenumber of inputs (
u)
for your function. If
-u is omitted, the input will be dynamically sized. (Used
with
-S option.)
Table 7-8: Optimization Options
<Option> Description
-O list
Lists all available optimizations.
-O all
Turns on all optimizations; all is the
default.
-O none
Turns off all optimizations.
-O <opt option>:[on|off]
Enables or disables individual
optimizations, where:
<opt option> is:
fold_scalar_mxarrays
fold_non_scalar_mxarrays
array_indexing
optimize_integer_for_loops
optimize_conditionals
Page view 218
1 2 ... 214 215 216 217 218 219 220 221 222 223 224 ... 263 264

Comments to this Manuals

No comments