DSP Blockset Release Notes |
Enhancements to Blocks Implemented with S-Functions
Many of the DSP Blockset blocks are S-function blocks (implemented with Simulink S-functions). The following sections summarize some of the major DSP Blockset 4.1 enhancements that improve S-function block performance and help you to write better S-functions.
Use of Simulink Run-Time Parameters
Many S-function blocks now generate better optimized Real-Time Workshop C code by using Simulink run-time parameters (RTPs) for both mask dialog and internal parameters. Blocks that use RTPs include those with filter coefficient parameters and initial condition parameters.
Better Memory Management for Simulation and Code Generation
Memory management enhancements for S-function block simulation and code generation now provide simulation code requiring less memory, and smaller Real-Time Workshop generated C code that is more efficient at run-time. Memory management enhancements include the use of contiguous input and output arrays, reusable inputs, overwritable arrays, and in-place algorithms.
New S-Function Simulation Support Directories
Various extensible C-callable library functions, macros, and definitions are now included in the following directories:
toolbox/dspblks/include
-- header files (prototypes and definitions)
toolbox/dspblks/src/sim
-- simulation library source code
toolbox/dspblks/lib
-- prebuilt library (.lib
) files for certain combinations of platforms and compilers only
Blocks with Tunability Enhancements | Real-Time Workshop Generated C Code Enhancements |