DSP Blockset    

Supported Data Types and How to Convert to Them

The following table lists all data types supported by the DSP Blockset, and how to convert to these data types. To see which data types a particular block supports, check the "Supported Data Types" section of the block's online reference page.

Supported Data Types and How to Convert to Them 
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
(sfix, ufix, sint, uint, sfrac, ufrac)
To learn more about fixed-point support, see Fixed-Point Support.
Custom data types
See Correctly Defining Custom Data Types to learn about custom data types.


  Data Type Support Viewing Data Types of Signals In Models