This function is an basic hex editor for viewing and comparing files (editing is not supported)
hexcompare(Filename) % View bytes of a binary file
hexcompare(Filename1, Filename2) % Compare binary files
hexcompare(X) % View uint8 data
X1 = uint8(0:5000);
X2 = X1;
Dirk-Jan Kroon (2020). HexCompare (https://www.mathworks.com/matlabcentral/fileexchange/29146-hexcompare), MATLAB Central File Exchange. Retrieved .