comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Reading Matlab (.mat) files and extracting arrays within them??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Reading Matlab (.mat) files and extracting arrays within them?? [message #13080] Wed, 14 October 1998 00:00 Go to next message
Jeffrey L. Annis is currently offline  Jeffrey L. Annis
Messages: 2
Registered: August 1998
Junior Member
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 / / /
/ / / /
Fax: (619) 534-7452 / / / /
Phone: (619) 534-6021 / / / /
http://jeda1.ucsd.edu / / / /
http://cyberia.ucsd.edu _/ _/ _/ _/
_____________________________________________________
Re: Reading Matlab (.mat) files and extracting arrays within them?? [message #13171 is a reply to message #13080] Thu, 15 October 1998 00:00 Go to previous message
Nigel Wade is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL compound widgets
Next Topic: AltiVec Support

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:00:37 PDT 2025

Total time taken to generate the page: 0.00372 seconds