hexfread

Version 1.0.0.0 (1,53 KB) von M MA
Read binary files as hexadecimal.
2,2K Downloads
Aktualisiert 27. Okt 2005

Lizenz anzeigen

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...

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R12
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0