textread

David Bateman adb014 at gmail.com
Tue May 13 15:56:18 CDT 2008


Michael Grossbach wrote:
> There seems to be a bug in textread (Octave 3.0.1 binary from 
> sourceforge, Windows XP) related to the 'headerlines' parameter.
> Assume the following in a file test.txt (without the start and end tags):

As this is currently an octave-forge function the bug should be sent to
octave-dev at lists.sourceforge.net. That being said it, textread probably
should be a core function, so hey..

The issue is that textread ignores the blank lines in the header in the
TextRead::lines method and then effective does it against when it
subtracts the number of headerlines from nr_rows. Patch attached.

D.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080513/f1f3b5db/attachment.ksh 


More information about the Bug-octave mailing list