[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38317] textread & textscan: different results
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB |
Date: |
Fri, 15 Mar 2013 16:04:10 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0 Iceape/2.16 |
Follow-up Comment #11, bug #38317 (project octave):
Here are provisional patches for textread.m and textscan.m, providing the
behavior of ML as far as I could deduce it from 2013a.
textscan.m behaves a bit differently from textread.m in that it doesn't return
a rectangular array but just the right number of columns (cell arrays) in
returned output cell array, and it returns NaN in empty fields.
The "EmptyValue" and "CollectOutput" parameters can be used to adapt this.
I'll wait a few days for your comments until I push these changes.
(file #27608, file #27609)
_______________________________________________________
Additional Item Attachment:
File name: textread_#38317.patch Size:4 KB
File name: textscan_#38317.patch Size:4 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38317>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Philip Nienhuis, 2013/03/16
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Rik, 2013/03/20
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Philip Nienhuis, 2013/03/20
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Philip Nienhuis, 2013/03/22
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Stig, 2013/03/29
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Philip Nienhuis, 2013/03/29
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Stig, 2013/03/30
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Stig, 2013/03/30
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Stig, 2013/03/30
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Philip Nienhuis, 2013/03/30