[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
import tab-delimited text file with header
From: |
fab |
Subject: |
import tab-delimited text file with header |
Date: |
Tue, 7 Sep 2010 19:16:33 -0700 (PDT) |
Hi all,
I am trying to import tab-delimited text files in Octave with one header
line that look like this:
AAA BBB CCC ...
111 222 333 ...
444 555 NaN ...
NaN 666 777 ...
...
I have installed the io and nan octave-forge packages and still no luck.
The load function gives me the error "error: load: failed to read matrix
from file EDCLaserDust_1cm".
textread, dlmread, and csvread fail as well with errors that look like this
(for a file with 4 columns):
"error: `EDCLaserDust_1cm' undefined near line 15 column 17
error: evaluating argument list element number 1
error: evaluating argument list element number 1"
Does anyone have an idea on how to do this?
Thanks
Fabrice
--
View this message in context:
http://octave.1599824.n4.nabble.com/import-tab-delimited-text-file-with-header-tp2530686p2530686.html
Sent from the Octave - General mailing list archive at Nabble.com.
- import tab-delimited text file with header,
fab <=