|
Re: Reading Matlab (.mat) files and extracting arrays within them?? [message #13171 is a reply to message #13080] |
Thu, 15 October 1998 00:00  |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
"Jeffrey L. Annis" wrote:
>
> Does anyone have some code that will open a Matlab (*.mat) file and
> extract data that is is within?
>
> Thanks, Jeff
>
> --
> _____________________________________________________
>
> JEFFREY L. ANNIS INTERNET: jannis@ucsd.edu
> _ _ _
> Physical Oceanography Research Division / \ / \ / \
> Scripps Institution of Oceanography / / /
> / / / /
I have one.
It will only read MATLAB 4 data files, MATLAB 5 data files are
secret and can only be read by MATLAB 5. If you need to read
data from MATLAB 5 then you have to save it in MATLAB 4 format
which restricts the type of data you can save.
The routine has limititations but will load simple matrices
into IDL. If it doesn't do what you want it may well act as
a basis for writing your own.
If you would like a copy e-mail me and I will send it to you.
I don't like posting code; it takes bandwidth for those who
don't want to see it.
--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
|
|
|