Are you sure "matlabFile.bin" is a binary file?
AFAIR Matlab created text files (which you can view and edit with e.g. notepad).
Matlab supports several file formats. Natively the latest version seems to use a binary format.
http://www.mathworks.com/help/pdf_doc/matlab/matfile_format.pdf is the official file format specification. As it's impossible to know what format the file OP has is in I'm not going to bother reading further, I assume if he's trying to parse that file he'll know how to read a file format specification.