help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help-octave Digest, Vol 41, Issue 22


From: Matthias Brennwald
Subject: Re: Help-octave Digest, Vol 41, Issue 22
Date: Mon, 10 Aug 2009 17:44:54 +0200

On Aug 10, 2009, at 5:32 PM, address@hidden wrote:

Message: 6
Date: Mon, 10 Aug 2009 17:02:03 +0200
From: Francesco Potorti` <address@hidden>
Subject: Re: Loading ASCII data files quickly
To: Matthias Brennwald <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8

I've got a few data files with a short header followed by two colums  
of data (see example below). The header data is marked by '*' signs,  
like this:

------------------------------
* TMD data written by MATAA on 10-Aug-2009 15:37:39
* MSW, 0 deg., no filter
0 -6.49888e-08
1.04167e-05 -1.77097e-07
2.08333e-05 2.53872e-07
3.125e-05 9.02216e-07
4.16667e-05 1.13457e-06

Have you tried dlmread?

Uhm, I just did. I put my example data from my original message into a text file (~/Desktop/testy.txt) and tried the following:

------
octave:56> dlmread ('~/Desktop/testy.txt');
error: dlmread: unable to open file `~/Desktop/testy.txt'
octave:56> dlmread ('~/Desktop/testy.txt',' ',2,0);
error: dlmread: unable to open file `~/Desktop/testy.txt'
octave:56> 
------

What am I doing wrong?

Matthias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]