[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reading text file
From: |
Roi Granot |
Subject: |
Reading text file |
Date: |
Wed, 27 Jan 2010 02:58:31 -0800 (PST) |
I'm trying to read an ascii file that has the following format:
blabla 12.2 14.23 312.32 ...
blabla 32.1 32.32 32.2 ...
...
The file has a string in the first column and numbers in the rest of the
columns. The trick here is that every time the code runs, it may read a file
that contains different number of columns (e.g., one time a total of 10
columns, other time a total of 4 columns, but always in the format that is
described above). Is there a way to read this kind of file, without an a
priory knowledge of the number of columns?
Thanks,
Roi
--
View this message in context:
http://old.nabble.com/Reading-text-file-tp27336197p27336197.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Reading text file,
Roi Granot <=