User`s guide
mcc
7-39
-u (Number of Inputs). Provide more control over the number of valid inputs for
your Simulink S-function. This option specifically sets the number of inputs (
u)
for your function. If
-u is omitted, the input will be dynamically sized. (Use this
with the
-S option.)
-W <type> (Function Wrapper). Control the generation of function wrappers for a
collection of Compiler-generated M-files. You provide a list of functions and the
Compiler generates the wrapper functions and any appropriate global variable
definitions. Table 7-10, Function Wrapper Types, shows the valid options.
-O none
Turns off all optimizations. Equivalent to
-B opt_bundle_none.
-O <opt option>:[on|off]
Enables or disables individual
optimizations, where
<opt option> is:
•
array_indexing
• fold_mxarrays
• fold_non_scalar_mxarrays
• fold_scalar_mxarrays
• optimize_conditionals
• optimize_integer_for_loops
• percolate_simple_types
• speculate
Table 7-9: Optimization Options (Continued)
<Option> Description
Table 7-10: Function Wrapper Types
<Type> Description
mex
Produces a mexFunction() interface.
main
Produces a POSIX shell main() function.
simulink
Produces a Simulink C MEX S-function
interface.