User`s guide
26 Real-Time Workshop Embedded Coder 2.0
26-4
Enhanced Code Generation Options
Initialize Floats and Doubles to 0.0
This option lets you control how internal storage for floats and doubles is
initialized. You can initialize floats and doubles to the integer bit pattern
0 (all
bits off) or set float and double storage explicitly to the value
0.0.
See “Initialize Floats and Doubles to 0.0” in the Real-Time Workshop User’s
Guide for further information.
MAT-File Logging Off by Default
In prior releases, the MAT-file logging option was on by default. In Real-Time
Workshop Embedded Coder 2.0, the
MAT-file logging option is off by default.
We recommend this setting because it eliminates the extra code and memory
usage required to maintain logging variables.
See “MAT-file Logging and Code Efficiency” in the Real-Time Workshop User’s
Guide for further information.
Virtualized Output Ports Optimization
The virtualized output ports optimization lets you eliminate code and data
storage associated with root output ports under certain conditions.
See “Virtualized Output Ports Optimization” in the Real-Time Workshop User’s
Guide for further information.
Improved HTML Code Generation Report
The format of the Real-Time Workshop Embedded Coder code generation
report has been enhanced for readability. The “Optimizations” section lists
additional options that will better optimize your code. Links from the report to
the online Real-Time Workshop Embedded Coder documentation have been
expanded.
See “Generating a Code Generation Report” in the Real-Time Workshop User’s
Guide for further information.