HexCompare

Basic hex editor for viewing and comparing files

You are now following this Submission

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://se.mathworks.com/matlabcentral/fileexchange/29146-hexcompare), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Share and Distribute Software in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0