hexfread

版本 1.0.0.0 (1.5 KB) 作者: M MA
Read binary files as hexadecimal.
2.2K 次下载
更新时间 2005/10/27

查看许可证

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

引用格式

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

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Audio and Video Data 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0