HexCompare

Basic hex editor for viewing and comparing files
913 Downloads
Updated 27 Oct 2010

View License

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 (2024). 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 Linux
Categories
Find more on Toolbox Distribution in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0