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

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

[Octave-bug-tracker] [bug #38711] dlmread add extra zero line when file


From: Rik
Subject: [Octave-bug-tracker] [bug #38711] dlmread add extra zero line when file contains "\0" at the end.
Date: Wed, 04 Sep 2013 16:32:08 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

Update of bug #38711 (project octave):

              Item Group:        Incorrect Result => Matlab Compatibility   
                  Status:                    None => Need Info              
                 Summary: dlmread add extra zero line when file contains "\0"
at the end.  => dlmread add extra zero line when file contains " " at the end.


    _______________________________________________________

Follow-up Comment #1:

Do you have access to Matlab?  I'm wondering how they treat null lines both
within the data and at the end of the file.  I've attached a file tst_null.csv
that I would like someone to read in with Matlab.


x = dlmread ('tst_null.csv', ',')


Is the null line in the middle of the file transformed into "0 0 0"?  There
are two null lines at the end of the file.  Are they both eliminated?  Or is
one retained as "0 0 0" and only the last line of the file eliminated if it
contains '\0'.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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