You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Returns the file elements converted to hexadecimal and in a matrice with a desired number of columns.
Syntax:
[HEX,SIZE] = HEXFREAD(FILE,COLS)
In the screenshot is shown an example with the MATLAB icon:
h=hexfread([matlabroot,'/X11/icons/matlab32c_icon.xpm'])
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 (2026). hexfread (https://www.mathworks.com/matlabcentral/fileexchange/8832-hexfread), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.53 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
