| DSP Blockset | ![]() |
Data Type Support
All DSP Blockset blocks support single- and double-precision floating-point data types during both simulation and Real-Time Workshop C code generation. Many blocks also support fixed-point and Boolean data types. The following table lists all data types supported by the DSP Blockset and which block to use when converting between data types. To see which data types a particular block supports, check the "Supported Data Types" section of the block's reference page.
| Data Types Supported by DSP Blockset Blocks |
Commands and Blocks for Converting Data Types |
Comments |
| Double-precision floating point |
Simulink built-in data type supported by all DSP Blockset blocks |
|
| Single-precision floating point |
Simulink built-in data type supported by all DSP Blockset blocks |
|
| Boolean |
Simulink built-in data type. To learn more, see Boolean Support. |
|
| Integer (8-,16-, or 32-bits) |
Simulink built-in data type |
|
| Unsigned integer (8-,16-, or 32-bits) |
Simulink built-in data type |
|
Fixed-point data types |
|
To learn more about fixed-point data types in the DSP Blockset, see Fixed-Point Support. |
| Custom data types |
See Correctly Defining Custom Data Types to learn about custom data types. | |
For more information, see Data Type Support.
| Matrix Support | Adaptive and Multirate Filtering | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |