[Top][All Lists]

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

[Octave-bug-tracker] [bug #42025] dlmread unable to recognize emptyvalue

From: Rik
Subject: [Octave-bug-tracker] [bug #42025] dlmread unable to recognize emptyvalues at start of line with whitespace separator
Date: Tue, 25 Oct 2016 17:28:50 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #42025 (project octave):

                  Status:          Ready For Test => Fixed                  
             Open/Closed:                    Open => Closed                 


Follow-up Comment #19:

Wow, this has turned out to be a very long and difficult problem.

I checked in a final cset
(http://hg.savannah.gnu.org/hgweb/octave/rev/68d5c4759783) that does not
create an extra column when the input line ends with a separator.  I also made
some changes that will improve the efficiency of dlmread because I avoid
constantly re-sizing the output data matrix for the first 32 rows.

A final question, what happens if you try and read imp6.txt and specify a
delimiter that is incorrect such as a comma?  In Octave, I get a complex
result which seems strange.

dlmread ('imp6.txt', ',')
ans =

    1 +  2i
   11 + 22i

I will open up a new bug report for that issue if Matlab does something

Closing this report.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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