[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings ins
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct |
Date: |
Tue, 18 Apr 2017 11:01:52 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Update of bug #50813 (project octave):
Status: None => Need Info
_______________________________________________________
Follow-up Comment #1:
I cannot reproduce your problem with a simple .txt file as follows:
A B
1 2
3 4
saved as test.txt
Matlab r2016b:
>> format compact
>> A = importdata ('test.txt')
A =
struct with fields:
data: [2×2 double]
textdata: {'A' 'B'}
colheaders: {'A' 'B'}
>>
Octave 4.2.0 and 4.3.0+ (the latter dev. version):
>> format compact
>> A = importdata ('test.txt')
A =
scalar structure containing the fields:
data =
1 2
3 4
textdata =
{
[1,1] = A,B
}
colheaders =
{
[1,1] = A
[1,2] = B
}
>>
If you want us to look further into it please upload a test file that works in
Matlab and provokes the bug in Octave.
Status => Need info
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50813>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Marc Dirix, 2017/04/16
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Marc Dirix, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Mike Miller, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Marc Dirix, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Mike Miller, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, John W. Eaton, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/23