User`s guide
New Features
13-5
Random Source Block
•You can now set the repeatability of the block output to Not repeatable,
Repeatable, or Specify seed. The default mode is Not repeatable, so that
when you add new Random Source blocks from the block library to a model,
the blocks automatically generate different outputs (without requiring you
to specify a seed).
•The block now uses Simulink run-time parameters, greatly enhancing its
Real-Time Workshop generated C code (see “Enhancements to Blocks
Implemented with S-Functions” on page 13-7).
Sine Wave Block
You can now optimize the Sine Wave block’s table lookup computation method
for speed or memory. For speed optimization, the block uses a full-length table,
while for memory optimization, it uses a 1/4-length table.
Unwrap Block
You can now set the Unwrap block to phase unwrap across successive inputs
for both frame-based and sample-based input signals.
Window Function Block
•The Window Function block now generates smaller, more efficient Real-Time
Workshop C code by using run-time parameters (see “Enhancements to
Blocks Implemented with S-Functions” on page 13-7).
•The block now supports single-precision (32-bit) floating-point input and
output signals.
Blocks with Enhanced Data Type Support
All DSP Blockset 4.1 blocks support the double data type in both simulation
and in Real-Time Workshop C code generation. Many blocks now support all
Simulink built-in data types, as well as the fixed-point data type and properly
defined Simulink custom data types in both simulation and in Real-Time
Workshop C code generation. To see which data types a particular block
supports, check the “Supported Data Types” section of its reference page.