[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57612] textscan omits final column value for
From: |
Fabio |
Subject: |
[Octave-bug-tracker] [bug #57612] textscan omits final column value for CSV is value is empty |
Date: |
Fri, 8 Jan 2021 11:07:34 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0 |
Follow-up Comment #4, bug #57612 (project octave):
I have applied the patch on 6.1.0 but I can still see a problem when the
number of separators on a line is different than the fields in the format
string.
str = sprintf (['101,' '\n' '201,']);
C = textscan (str, '%s%s%s', 'Delimiter', ',')
C =
{
[1,1] =
{
[1,1] = 101
}
[1,2] =
{
[1,1] =
}
[1,3] =
{
[1,1] = 201
}
}
Matlab fills the output cell as expected (besides the difference put in
evidence in comment #3)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57612>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57612] textscan omits final column value for CSV is value is empty,
Fabio <=