[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings ins
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct |
Date: |
Wed, 1 Apr 2020 04:35:19 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #12, bug #50813 (project octave):
Running the example from comment #1, Octave returns:
A =
scalar structure containing the fields:
data =
1 2
3 4
textdata =
{
[1,1] = A B
}
colheaders =
{
[1,1] = A
[1,2] = B
}
while Matlab would return {'A','B'} for the textdata field. A solution might
be to use the row_entries variable instead of row in:
http://hg.savannah.gnu.org/hgweb/octave/file/c26838a3afa6/scripts/io/importdata.m#l194
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?50813>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct,
Guillaume <=