This MATLAB function reads data from an open binary file into column vector A and positions the file pointer at the end-of-file marker.
www.mathworks.com