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

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

[Octave-bug-tracker] [bug #45156] csvread and dlmread return errors when


From: Colin Foster
Subject: [Octave-bug-tracker] [bug #45156] csvread and dlmread return errors when reading an empty file
Date: Wed, 20 May 2015 23:27:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?45156>

                 Summary: csvread and dlmread return errors when reading an
empty file
                 Project: GNU Octave
            Submitted by: cfoster
            Submitted on: Wed 20 May 2015 06:27:31 PM CDT
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Colin Foster
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When running csvread on an empty file (created by `touch ~/empty.csv`) the
dlmread function returns with an error.

I am not sure how MATLAB responds to this, but I would expect proper
functionality would be to return an empty matrix.

I have created a patch for this and will include it in my next post. I'm
currently pulling the updated source and, after verifying, will submit it.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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