[FieldTrip] problem reading 4d header

jan-mathijs schoffelen jan.schoffelen at donders.ru.nl
Tue May 17 16:24:21 CEST 2011


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





More information about the fieldtrip mailing list