[FieldTrip] loreta2fieldtrip function error
Fatemeh Ebrahimi nia
ebrahimi_nia at yahoo.com
Fri May 31 17:56:55 CEST 2013
Dear respondent,
Thank you for your advices.
I have used the function that you have updated. It works out. Can you give me information about the output structure (What do the matrixes refer to?) or advise a reference to study about that please?
Best,
Fatemeh
________________________________
From: Ingrid Nieuwenhuis <inieuwenhuis at berkeley.edu>
To: fieldtrip at science.ru.nl
Sent: Thursday, May 30, 2013 10:30 AM
Subject: Re: [FieldTrip] loreta2fieldtrip function error
Hi Fatemeh,
I had the same error recently when I did the same. I filed the bug,
see http://bugzilla.fcdonders.nl/show_bug.cgi?id=2144
I did create a work around. In the LORETA program, you can export
the source data as a text file. You can read that text file in with
loreta2fieldtrip.m. It's a bit of a patch, but it worked for me.
Hope this helps,
Ingrid
On 5/30/2013 10:14 AM, Fatemeh Ebrahimi nia wrote:
Hi dear all,
>
>
>I am analyzing EEG data. I have computed sLORETA (.slor) from ERP data. Now I want to read and convert LORETA source reconstruction into a
>MATLAB data structure using "loreta2fieldtrip" function, But I have gotten the bellow error.
>
>
>**** Error using fread
>
>Invalid precision.
>Error in loreta2fieldtrip (line 85)
>activity = fread(fid, [voxnumber Ntime], 'float = >single'); ***
>
>
>Can someone give me a help?
>
>
>
>Best regards,
>Fatemeh
>
>
>
>
>_______________________________________________
fieldtrip mailing list fieldtrip at donders.ru.nl http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
--
Ingrid Nieuwenhuis PhD
Postdoctoral Fellow
Sleep and Neuroimaging Laboratory
Department of Psychology
University of California, Berkeley
California 94720-1650
Tolman Hall, room 5305
_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130531/ea56bae9/attachment-0002.html>
More information about the fieldtrip
mailing list