Real-Time Workshop Embedded Coder Release Notes |
New Features
This section introduces the new features and enhancements added in the Real-Time Workshop Embedded Coder 2.0, since the Real-Time Workshop Embedded Coder 1.0.
For information about Real-Time Workshop Embedded Coder features that are incorporated from Version 1.0, see Introduction to the Real-Time Workshop Embedded Coder.
Custom Storage Classes for Data Objects
The Real-Time Workshop Embedded Coder 2.0 implements a number of predefined custom storage classes that are useful in embedded systems development. These classes extend the built-in storage classes provided by the Real-Time Workshop. The built-in classes provide limited control over the form of the code generated for references signals, parameters, and other types of data. These storage classes are suitable for a simulation or rapid prototyping environment, but embedded system designers often require greater control over the representation of data.
Using Real-Time Workshop Embedded Coder custom storage classes, you can define and generate constructs such as bit fields or structs from your model, and easily interface data structures to externally written code.
See Custom Storage Classes in the Real-Time Workshop Embedded Coder User's Guide for further information.
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 Embedded Coder 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.
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 Embedded Coder 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 Embedded Coder User's Guide for further information.
Real-Time Workshop Embedded Coder 2.0 Release Notes | Real-Time Workshop Embedded Coder 1.0 Release Notes |