Read data from binary file
reads
data from an open binary file into column vector A = fread(fileID)A and
positions the file pointer at the end-of-file marker. The binary file
is indicated by the file identifier, fileID. Use fopen to
open the file and obtain the fileID value. When
you finish reading, close the file by calling fclose(fileID).