Version (1.53 KB) by M MA
Read binary files as hexadecimal.
Updated 27 Oct 2005

View License

Returns the file elements converted to hexadecimal and in a matrice with a desired number of columns.


In the screenshot is shown an example with the MATLAB icon:

The inverse is done by HEXDISP.
This is the strategy used by SELFPACK, in order to store any file inside a p file...

Cite As

M MA (2024). hexfread (https://www.mathworks.com/matlabcentral/fileexchange/8832-hexfread), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes