User`s guide

New Features
5-3
New Features
This section introduces the new features and enhancements added in the
Real-Time Workshop 4.1 since the Real-Time Workshop 4.0.
For information about Real-Time Workshop features that are incorporated
from recent releases, see the Release Notes for Release 12.
Note For information about closely related products that extend the
Real-Time Workshop, see the sections about the Real-Time Workshop Ada
Coder, Real-Time Workshop Embedded Coder, and xPC Target.
Block Reduction Option On by Default
The Block reduction option (on the Advanced page of the Simulation
Parameters
dialog box) is now turned on by default. In prior releases, this
option was off by default.
Block reduction collapses certain groups of blocks into a single, more efficient
block, or removes them entirely. This results in faster model execution during
simulation and in generated code.
See “Block Reduction Option” in the Real-Time Workshop User’s Guide for
further information.
Buffer Reuse Code Generation Option
The Buffer reuse option is now available via the General Code Generation
Options (cont.)
category of the Real-Time Workshop page. When the Buffer
reuse
option is selected, signal storage is reused whenever possible.
In previous releases, this option was available only through MATLAB
set_param and get_param commands, such as:
set_param(gcs,'bufferreuse','on')
The set_param and get_param commands are still supported.
See “Buffer Reuse Option” and “Signals: Storage, Optimization, and
Interfacing” in the Real-Time Workshop User’s Guide for further information.