Matlab / GNU Octave file checksum
Computing file hash checksum allows some verification of file integrity, assuming the file is not maliciously altered to have the same checksum. MD5 and SHA-256 are among the methods available in Matlab-stdlib (works on Matlab or GNU Octave) file_checksum that computes the checksum of a file. The file is read in chunks to avoid overflowing the Java VM memory.