File Exchange

image thumbnail

HexCompare

version 1.0.0.0 (2.79 KB) by Dirk-Jan Kroon
Basic hex editor for viewing and comparing files

3 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);

Comments and Ratings (2)

Matt T

Excellent

Adam

Can't install HexEdit on my machine because of IT. This is a GREAT substitute! Thanks!

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux