Main Content
Supported Data Types
The Fixed-Point Designer™ software supports the following integer and fixed-point data types for simulation and code generation:
Unsigned data types from 1 bit to 65,535 bits
Signed data types from 2 bits to 65,535 bits
Boolean, double, single, and half
Scaled doubles
The fi
object in MATLAB® has a word length limit of 65,535 bits.
The software supports all scaling choices including pure integer, binary point, and slope bias. For slope bias scaling, it does not support complex fixed-point types that have non-zero bias or non-trivial slope.
The save data type support extends to signals, parameters, and states.