User`s guide
Convert Complex DSP To Simulink
5-96
5Convert Complex DSP To Simulink
Purpose Convert complex data from the DSP Blockset Version 2.2 format to the
Simulink Version 3 format.
Library Elementary Functions, in Math Functions
Description The Convert Complex DSP To Simulink block accepts complex data (scalar,
vector, matrix) in the DSP Blockset Version 2.2 format, and outputs the same
data in the Simulink Version 3 complex format. Only complex data should be
supplied to this block.
Blocks provided in Release 11 and later blocksets (e.g., Simulink Version 3.0,
DSP Blockset Version 3.0, Fixed Point Blockset Version 2.0) use the
Simulink Version 3 complex format, which is not compatible with the DSP
Blockset Version 2.2 complex format. To add a new block or subsystem
(Release 11 and later) to an existing model that uses the DSP Blockset Version
2.2 complex data format, precede it with the Convert Complex DSP To
Simulink block. If the new block or subsystem’s output is complex, you should
follow it with the complementary Convert Complex Simulink To DSP block
(unless the downstream blocks have already been updated to their Release 11
counterparts).
These convertor blocks are only needed for interfacing Version 3.0 blocks to the
complex-data section of a Version 2.2 or earlier model. Version 3.0 blocks can
be added to real-data sections of older models without any data format
conversion.
Note Within a section of model that uses the Version 2.2 complex format, you
should continue to use the complex port identifier (
∗) as a guide to wiring
blocks. Outputs ports labeled with the
∗ symbol should only be connected to
input ports labeled with the ∗ symbol.
The following figure shows how you can use these two convertor blocks to
migrate part of a complex-data model to the Version 3.0 complex format while
letting other components continue to use the Version 2.2 complex-data format.