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...
Citar como
M MA (2024). hexfread (https://www.mathworks.com/matlabcentral/fileexchange/8832-hexfread), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R12
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
Más información sobre Audio and Video Data en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |