32 bits HEX input to float in Simulink

Converts the 32 bits hex input into FLOAT, WITHOUT using Embedded Matlab Functions
907 Downloads
Updated 28 Aug 2009

View License

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 Linux
Categories
Find more on Prepare Model Inputs and Outputs in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0