No BSD License  

Highlights from
readMatfile

from readMatfile by Normand Gregoire
Reads a binary .mat file.

readMatfile.m
% READMATFILE
% 
%     Returns the content of a binary mat file in a structure,
%     similarly to the result obtained with :
%     
%     z = load ('myfile.dat', '-mat') ;
%     
%     This program is intended to be a replacement of the above
%     instruction that returns an empty structure when used in
%     a compiled m-file.
%     
%     Use :   z = readMatfile (filename) ;
%     
%     This program will return an error if used to read in an 
%     ASCII mat file.
%     
%     Normand Gregoire, gregn@fti-ibis.com, March 25, 2003

Contact us at files@mathworks.com