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

Home » Public Forums » archive » Re: Very slow IDL vs Matlab (ascii file reading)
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: Very slow IDL vs Matlab (ascii file reading) [message #36891 is a reply to message #36889] Wed, 05 November 2003 01:15 Go to previous messageGo to previous message
Marcin Jakubowski is currently offline  Marcin Jakubowski
Messages: 5
Registered: October 2001
Junior Member
Reimar Bauer wrote:

>
>
> My previous examples does not have all data in one line!!!
> (It's always easier to check if a complete example is provided to us)
>
> Here is an example to create the data file.
>
> x=make_array(/double,value=999D,660L*496L)
> w=17l*660L*496L
> openw,lun,/get_l,'Mydata.dat',width=w
> printf,lun,x
> free_lun,lun
>
> By reading this data I got the same problem as described above.
> This could be a bug in width. Any ideas?
>
> I would suggest to use a shell command to split the lines after 1000 numbers
> in new lines. On linux this could be done by sed.
>
> Reimar
>

Thanks for help, I'll try to wrap the file.

Regards,
Marcin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to solve a homogeneous system(Ax=0) with a gauss elimination method that x is not zero.
Next Topic: Simple seismic ray tracing code?

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

Current Time: Wed Oct 08 20:10:06 PDT 2025

Total time taken to generate the page: 0.58379 seconds