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

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

[Octave-bug-tracker] [bug #55479] dlmread('test.csv', '\t', 1) fails wit


From: Alois Schlögl
Subject: [Octave-bug-tracker] [bug #55479] dlmread('test.csv', '\t', 1) fails with parsing Range error.
Date: Tue, 15 Jan 2019 05:59:29 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <https://savannah.gnu.org/bugs/?55479>

                 Summary: dlmread('test.csv','\t',1) fails with parsing Range
error. 
                 Project: GNU Octave
            Submitted by: schloegl
            Submitted on: Tue 15 Jan 2019 10:59:27 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: schloegl
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Trying to read a simple csv file (see attachment) with one header line can be
done in matlab like this: 

  dlmread('test.csv','\t',1) 

This fails in Octave with this error 

   error: dlmread: error parsing RANGE



The workaround is of course

  dlmread('test.csv','\t',1,0) 

however, it would easier for some users if compatibility would be established.


I've tested this in Octave 4.4.0 and 4.4.1 and the development version. 








    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 15 Jan 2019 10:59:27 AM UTC  Name: test.csv  Size: 18B   By:
schloegl
simple csv test file
<http://savannah.gnu.org/bugs/download.php?file_id=45979>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55479>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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