octave-bug-tracker
[Top][All Lists]
Advanced

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

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


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #42025] dlmread unable to recognize emptyvalues at start of line with whitespace separator
Date: Tue, 25 Oct 2016 07:49:45 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #18, bug #42025 (project octave):

Matlab r2016b, r2014a:

>> dlmread ('imp6.txt', ' ')
ans =
     0     0     0     0
     0     1     2     0
    11    22     0     0
     0     0     0     0
>> dlmread ('imp3.txt', ' ')
ans =
     1    11     0
     0    22     0
     0     3    33
     0     0     0


A trailing space on last line or not makes no difference as to nr. of columns,
not even presence of the last line itself (i.e., L.3 ending with EOF)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42025>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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