HexCompare
Version 1.0.0.0 (2.79 KB) by
Dirk-Jan Kroon
Basic hex editor for viewing and comparing files
This function is an basic hex editor for viewing and comparing files (editing is not supported)
hexcompare(Filename) % View bytes of a binary file
or,
hexcompare(Filename1, Filename2) % Compare binary files
or,
hexcompare(X) % View uint8 data
Example (view),
hexcompare('hexcompare.m');
Example (compare),
X1 = uint8(0:5000);
X2 = X1;
X2(10)= 6;
hexcompare(X1,X2);
Cite As
Dirk-Jan Kroon (2026). HexCompare (https://www.mathworks.com/matlabcentral/fileexchange/29146-hexcompare), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Toolbox Distribution in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
