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

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

[Octave-bug-tracker] [bug #33580] dlmread does not function as advertise


From: anonymous
Subject: [Octave-bug-tracker] [bug #33580] dlmread does not function as advertised
Date: Thu, 16 Jun 2011 17:07:19 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1

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

                 Summary: dlmread does not function as advertised
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 16 Jun 2011 05:07:19 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Dan Whitney
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.3
        Operating System: Mac OS

    _______________________________________________________

Details:

The documentation simply says to use dlmread as though there was nothing to it
but to do it. But in fact dlmread (and csvread) wants LF only as the end of
line marker and will not recoginze CR or (I think) CRLF.  A simple excel csv
file ends its lines in CR and dlmread reads it in as one long string instead
of a set of lines.  Matlab reads such files effortlessly.

It seems to be a shame that such a simple command does not work.  I have lots
of network models saved as excel csv files and I find I have to convert each
one to a text file using Word and save them as LF only text files.  This does
not ruin my life but it is a needless pain.

I recorded this but as v 3.2.3 but v 3.4.0 does the same thing.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 16 Jun 2011 05:07:19 PM UTC  Name: shanghai_node_list2.csv  Size:
661B   By: None
The csv file is read incorrectly. Its size is 1 x 198.  The file
shanghai_mode_list5 is read correctly.  Its size is 50 x 8.
<http://savannah.gnu.org/bugs/download.php?file_id=23529>
-------------------------------------------------------
Date: Thu 16 Jun 2011 05:07:19 PM UTC  Name: shanghai_node_list5.txt  Size:
778B   By: None
The csv file is read incorrectly. Its size is 1 x 198.  The file
shanghai_mode_list5 is read correctly.  Its size is 50 x 8.
<http://savannah.gnu.org/bugs/download.php?file_id=23530>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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