[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50485] textscan() auto-detection of format is
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #50485] textscan() auto-detection of format is not Matlab compatible |
Date: |
Sun, 29 Mar 2020 15:08:58 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #50485 (project octave):
Priority: 5 - Normal => 3 - Low
Summary: textscan() behavior incompatible with matlab in case
of empty lines => textscan() auto-detection of format is not Matlab compatible
_______________________________________________________
Follow-up Comment #7:
Update: 3/29/2020.
The motivating example from comment #0
s = textscan(sprintf('2,1,\n,,\n2,,3'),'',-1,'delimiter',','); s{:}
works if the explicit format '%f %f %f' is given.
Re-titling report to indicate that the current problem is that the format is
not automatically detected in the same way as Matlab.
Lowering the priority as there is a simple workaround which is to give Octave
a hint about the the data by supplying a format.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?50485>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #50485] textscan() auto-detection of format is not Matlab compatible,
Rik <=