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.
|