help-octave
[Top][All Lists]
Advanced

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

Re: Possible bug in textread


From: Andreas Weber
Subject: Re: Possible bug in textread
Date: Sun, 27 Oct 2013 12:06:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9

Am 27.10.2013 11:54, schrieb João Rodrigues:
> Hi,
> I was experimenting with textread and got what I believe to be a bug.
> If the contents of test.dat are:
>
> A B C
> a 10 100
> b 20 200
> c 30 300
> d 40 400
> e 50 500
>
> the command:
>
> [a,b,c] = textread('test.dat', '%s %d %d', 'headerlines', 1)
>
> yields:
>
> error: textread: A(I): index out of bounds; value 1 out of bound 0
> error: called from:
> error:   /usr/share/octave/3.6.4/m/io/textread.m at line 75, column 3
>
> <snip>
> My octave version is 3.6.4.
>
Hi Joao,
your example works for me with the current development source so I guess
one of the bugfixes
http://hg.savannah.gnu.org/hgweb/octave/log/49a5a4be04a1/scripts/io/textread.m
fixed this. Can you wait some weeks until octave 3.8 is released?

btw: please stop thread hijacking (Don't replay to an existing post and
change the subject, rather open a new thread)
Regards, Andy


reply via email to

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