User`s guide

New Features
26-3
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 the Release Notes for Release 12.
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 User’s Guide for
further information.
Note To create Simulink data objects with custom storage classes from
M-code, you must have a Real-Time Workshop Embedded Coder license. To
share data objects of this type with users who do not have the required license,
save the objects in a MAT-file which the users can load into the MATLAB
workspace.