32 bits HEX input to float in Simulink
Version 1.0.0.0 (13.6 KB) by
Imanol Cruz
Converts the 32 bits hex input into FLOAT, WITHOUT using Embedded Matlab Functions
Converts the 32 bits hex input into the corresponding FLOAT using the IEEE 32 bits float format.
Entering 4 bytes input (HEX), the block gives us the corresponding float.
There is not any Embedded Matlab Function, so this example can be used in External Mode.
Cite As
Imanol Cruz (2024). 32 bits HEX input to float in Simulink (https://www.mathworks.com/matlabcentral/fileexchange/25163-32-bits-hex-input-to-float-in-simulink), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Prepare Model Inputs and Outputs in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |