[FieldTrip] problem reading 4d header

Nuria Donamayor Alonso nuria.donamayor at neuro.uni-luebeck.de
Wed May 18 15:00:33 CEST 2011


Hi Jan-Mathijs,
I get the same error message with all my datasets. Maybe it does have to do with my Linux machine... Any idea what I should look for to fix it?
Thanks,
Nuria


________________________________________
Von: fieldtrip-bounces at donders.ru.nl [fieldtrip-bounces at donders.ru.nl] im Auftrag von jan-mathijs schoffelen [jan.schoffelen at donders.ru.nl]
Gesendet: Mittwoch, 18. Mai 2011 12:13
An: Email discussion list for the FieldTrip project
Betreff: Re: [FieldTrip] problem reading 4d header

Hi Nuria,

I cannot reproduce your problem on a linux machine we have here,
running matlab 2010b (64-bit).
Either there is something wrong with your dataset (does it happen as
well for another dataset?), or there is something different with
respect to the configuration of your Linux machine.

Best,

Jan-Mathijs

On May 17, 2011, at 4:49 PM, Nuria Donamayor Alonso wrote:

> Hi Jan-Mathijs,
> I'm using Matlab 7.11.0 (R2010b).
> Best,
> Nuria
>
>
> ________________________________________
> Von: fieldtrip-bounces at donders.ru.nl [fieldtrip-
> bounces at donders.ru.nl] im Auftrag von jan-mathijs schoffelen [jan.schoffelen at donders.ru.nl
> ]
> Gesendet: Dienstag, 17. Mai 2011 16:24
> An: Email discussion list for the FieldTrip project
> Betreff: Re: [FieldTrip] problem reading 4d header
>
> Hi Nuria,
>
> Strange. Format should contain a number. What matlab version are you
> running on the Linux machine?
>
> Best,
>
> Jan-Mathijs
>
>
> On May 17, 2011, at 10:03 AM, Nuria Donamayor Alonso wrote:
>
>> Hi Jan-Mathijs,
>> sorry it took me this long to answer. The variable format seems to
>> be empty....
>> Nuria
>> ________________________________________
>> Von: fieldtrip-bounces at donders.ru.nl [fieldtrip-
>> bounces at donders.ru.nl] im Auftrag von jan-mathijs schoffelen [jan.schoffelen at donders.ru.nl
>> ]
>> Gesendet: Freitag, 13. Mai 2011 16:43
>> An: Email discussion list for the FieldTrip project
>> Betreff: Re: [FieldTrip] problem reading 4d header
>>
>> Hi Nuria,
>>
>> Could you type dbstop if error on the command line, and evaluate what
>> the variable 'format' is in your case?
>>
>> Thanks,
>>
>> Jan-Mathijs
>>
>> On May 13, 2011, at 2:34 PM, Nuria Donamayor Alonso wrote:
>>
>>> Yes, it is exectly the same version. Better said, versions, because
>>> I tried both 20110413 and 20110512....
>>>
>>> ________________________________________
>>> Von: fieldtrip-bounces at donders.ru.nl [fieldtrip-
>>> bounces at donders.ru.nl] im Auftrag von Yuval Harpaz [yuvharpaz at gmail.com
>>> ]
>>> Gesendet: Freitag, 13. Mai 2011 13:39
>>> An: Email discussion list for the FieldTrip project
>>> Betreff: Re: [FieldTrip] problem reading 4d header
>>>
>>> Dear Nuria
>>> Is it exactly the same fieldtrip version?
>>> I hope someone will solve this.
>>> as temporary work around you can read the header on windows and then
>>> move to linux
>>>
>>> yuval
>>>
>>> On 13 May 2011 11:42, Nuria Donamayor Alonso <nuria.donamayor at neuro.uni-luebeck.de
>>> <mailto:nuria.donamayor at neuro.uni-luebeck.de>> wrote:
>>> Dear fieltrip users,
>>> I am using fieldtrip to analyze my 4D/BTI data on a Linux machine
>>> with a 64-bit Matlab version and I am getting an error I don't know
>>> how to solve:
>>>
>>> hdr = ft_read_header(['/data/ld1/home/bx95/c,rfDC']);
>>> ??? SWITCH expression must be a scalar or string constant.
>>>
>>> Error in ==> read_4d_hdr at 60
>>> switch format
>>>
>>> Error in ==> ft_read_header at 153
>>> orig            = read_4d_hdr(datafile);
>>>
>>> If I try to read the same data on my Windows PC with 32-bit Matlab I
>>> have no problem reading the header file (but I can't even finish the
>>> preprocessing before it runs out of memory, therefore the switch to
>>> the Linux machine), so I'm pretty clueless here... Can any of you
>>> help me?
>>> Thanks,
>>> Nuria
>>>
>>>
>>>
>>> Nuria Doñamayor Alonso, MSc
>>> Universitätsklinikum Schleswig-Holstein
>>> Campus Lübeck
>>> Klinik für Neurologie
>>> Ratzeburger Allee 160
>>> 23538 Lübeck
>>>
>>> _______________________________________________
>>> fieldtrip mailing list
>>> fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
>>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>>
>>>
>>>
>>> --
>>> Y.Harpaz
>>>
>>> a link to the BIU MEG lab:
>>> http://faculty.biu.ac.il/~goldsa/index.html<http://faculty.biu.ac.il/%7Egoldsa/index.html
>>>>
>>>
>>> "Many were increasingly of the opinion that they'd all made a big
>>> mistake in coming down from the trees in the first place. And some
>>> said that even the trees had been a bad move, and that no one should
>>> ever have left the oceans". Douglas Adams
>>>
>>>
>>> _______________________________________________
>>> fieldtrip mailing list
>>> fieldtrip at donders.ru.nl
>>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>> Dr. J.M. (Jan-Mathijs) Schoffelen
>> Donders Institute for Brain, Cognition and Behaviour,
>> Centre for Cognitive Neuroimaging,
>> Radboud University Nijmegen, The Netherlands
>> J.Schoffelen at donders.ru.nl
>> Telephone: 0031-24-3614793
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
> Dr. J.M. (Jan-Mathijs) Schoffelen
> Donders Institute for Brain, Cognition and Behaviour,
> Centre for Cognitive Neuroimaging,
> Radboud University Nijmegen, The Netherlands
> J.Schoffelen at donders.ru.nl
> Telephone: 0031-24-3614793
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Dr. J.M. (Jan-Mathijs) Schoffelen
Donders Institute for Brain, Cognition and Behaviour,
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
Telephone: 0031-24-3614793


_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip




More information about the fieldtrip mailing list