Floating-Point Specification in Simulink
Because single precision numbers use only 32 bits, they require less memory than double-precision numbers while still offering many of the benefits of floating point arithmetic. The half-precision data type occupies only 16 bits of memory, but its floating-point representation enables it to handle wider dynamic ranges than integer or fixed-point data types of the same size.
|Determine whether registered data type is double, single, or half-precision data type (Since R2020b)|
|Determine whether registered data type is half-precision data type (Since R2020b)|
|Register half-precision data type and return its data type ID (Since R2020b)|
|Add target object to internal database (Since R2019a)|
|Create target object (Since R2019a)|
|Retrieve target objects from internal database (Since R2019a)|
|Remove target object from internal database (Since R2019a)|
|Manage target hardware and build tool information (Since R2019a)|
- What is Half Precision?
Introduction to the half-precision data type in MATLAB® and Simulink®.
- The Half-Precision Data Type in Simulink
Simulink software features supported for the half-precision data type.
- Generate Native Half-Precision C Code from Simulink Models
Generate C code for embedded hardware targets that natively supports half precision floating-point data types.