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

Home » Public Forums » archive » reading .mat files in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: reading .mat files in IDL [message #50634 is a reply to message #50505] Fri, 06 October 2006 06:41 Go to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Ulan wrote:
> Dear all,
>
> Recently I had to tranfer some time series plots from Matlab (.mat
> files) into IDL. I have used IDL's "Binary Import" macro and had a few
> problems. I thought, the problems were due to the data type
> miscommunication: when the double data type in Matlab was imported as
> double into IDL the data range was somewhat different (looked rather
> streched like in BYTSCL command). I have expieremented with other data
> types in Matlab (int8, int16, int32) but then IDL's binary template
> complaint of improper data sizes. Finally, I had to make 2D array of my
> time-series in Matlab, copy array cells into Notepad and save it as an
> ASCII. I guess it is not the proper way of transfering data and most
> likely I'll face the same problem when transfering larger 2D or 3D
> data... I searched the forum for the same topics but couldn't find an
> answer. Also a link on one site of 'reading .mat files into IDL' was
> broken. So, if anybody had expierence ...
>

Hi,

I don't have a solution for reading MAT files directly into IDL, but a
while back (a long while now) Nick Wolf and I cobbled together a set of
IDL and MatLab routines to exchange data via file I/O. Send me an email
if you would like it.

Cheers,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: wrapper functions
Next Topic: input expression as a variable.

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

Current Time: Fri Oct 10 02:37:33 PDT 2025

Total time taken to generate the page: 0.16253 seconds