DSP Blockset Release Notes |
Upgrading from an Earlier Release
This section describes the upgrade issues involved in moving from the DSP Blockset 3.1 to the DSP Blockset 4.0.
Adding Release 12 Blocks to Release 11 Models
All DSP Blockset Version 4.0 blocks support the Simulink 4.0 matrix and frame enhancements. Thus, when you add new (Version 4.0) blocks to a model containing older blocks, some of the signals may need to be altered. Otherwise, an older block may not correctly recognize the output from a new block, and vice versa. See Using Version 4.0 Blocks with Blocks from Earlier Versions Checking Block Versions and Finding Replacement Blocks below for details.
Using Version 4.0 Blocks with Blocks from Earlier Versions
Input dimension and frame status are detected automatically by new (Version 4.0) blocks but not by older blocks from previous releases. Thus, when both new and older blocks are used in a model, some signals may need to be passed through conversion blocks so the dimension and frame status of signals are recognized by their receiving blocks.
Using Outputs from Older Blocks as Inputs to New Blocks. All outputs of blocks from previous releases are 1-D vectors. You can use an output of an older block as an input to a new block without altering the signal. In this case, the new block will usually treat the 1-D input vector as a sample-based 2-D column vector (check the documentation for the particular block in which you are interested). You can also change the 1-D output of an older block to a 2-D sample- or frame-based matrix before feeding it into a new block: simply insert the Convert 1-D to 2-D block in the DSP Blockset Signal Attributes library. See the documentation for the Convert 1-D to 2-D block for more information.
Using Outputs from New Blocks as Inputs to Older Blocks. Older blocks can only accept 1-D inputs. To use an output from a new block as an input to an older block, pass the new output through the Convert 2-D to 1-D block found in the DSP Blockset Signal Attributes library. You can set the frame status and dimensions of the resulting 1-D signal in the parameters dialog box of the older block. See the documentation for the Convert 2-D to 1-D block for more information.
Checking Block Versions
When you begin adding Version 4.0 blocks to an older model, use the dsp_links function to check the versions of all blocks in that model. When you type
at the command line, the blocks in current model are color coded to reflect the version of the DSP Blockset to which they are linked. By default, Version 4.0 blocks are displayed in green. If the color coding reveals that a Version 4.0 block is providing the input to a Version 3 or Version 2 block (displayed in yellow or red by default), the older block should be replaced with a current version. Alternatively, you can use conversion blocks as described previously in Using Version 4.0 Blocks with Blocks from Earlier Versions.
Finding Replacement Blocks
In most cases, you can simply replace the older block with the current block of the same name. In general, you should open the block's dialog box and verify that the settings are correct for the intended operation. (Many block dialogs have undergone minor refinements.)
In certain cases, a block may have changed name or location in Version 4.0. If you cannot find the block you are looking for, check Table 3-2 to see if it may have been renamed or relocated.
Library Reorganization | DSP Blockset Notes from Earlier Releases |