<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Fatemeh,<br>
<br>
I had the same error recently when I did the same. I filed the bug,
see <a href="http://bugzilla.fcdonders.nl/show_bug.cgi?id=2144">http://bugzilla.fcdonders.nl/show_bug.cgi?id=2144</a><br>
<br>
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. <br>
<br>
Hope this helps,<br>
Ingrid<br>
<br>
<div class="moz-cite-prefix">On 5/30/2013 10:14 AM, Fatemeh Ebrahimi
nia wrote:<br>
</div>
<blockquote
cite="mid:1369934092.15336.YahooMailNeo@web122405.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:10pt">
<div style="font-family: arial, helvetica, sans-serif;
font-size: 10pt; ">Hi dear all,</div>
<div style="font-family: arial, helvetica, sans-serif;
font-size: 10pt; "><br>
</div>
<div><font class="Apple-style-span" size="2" face="arial,
helvetica, sans-serif">I am analyzing EEG data. I have
computed sLORETA </font><span class="Apple-style-span"
style="font-family: arial, helvetica, sans-serif; font-size:
13px; ">(.slor) </span><span class="Apple-style-span"
style="font-family: arial, helvetica, sans-serif; font-size:
13px; ">from ERP data. Now I want to read and convert LORETA
source reconstruction into a</span></div>
<div><font class="Apple-style-span" size="2" face="arial,
helvetica, sans-serif">MATLAB data structure using
"loreta2fieldtrip" function, But I have gotten the bellow
error.</font></div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
arial, helvetica, sans-serif; background-color: transparent;
font-style: normal; "><font class="Apple-style-span" size="2"
face="arial, helvetica, sans-serif"><br>
</font></div>
<div style="background-color: transparent; "><font
class="Apple-style-span" size="2" face="arial, helvetica,
sans-serif">**** Error using fread<br>
</font></div>
<div style="background-color: transparent; "><font
class="Apple-style-span" size="2" face="arial, helvetica,
sans-serif">Invalid precision.</font></div>
<div style="background-color: transparent; "><font
class="Apple-style-span" size="2" face="arial, helvetica,
sans-serif">Error in loreta2fieldtrip (line 85)</font></div>
<div style="background-color: transparent; "><font
class="Apple-style-span" size="2" face="arial, helvetica,
sans-serif">activity = fread(fid, [voxnumber Ntime], 'float
= >single'); ***</font></div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
arial, helvetica, sans-serif; background-color: transparent;
font-style: normal; "><font class="Apple-style-span" size="2"
face="arial, helvetica, sans-serif"><br>
</font></div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
arial, helvetica, sans-serif; background-color: transparent;
font-style: normal; "><font class="Apple-style-span" size="2"
face="arial, helvetica, sans-serif">Can someone give me a
help?<br>
</font></div>
<div style="color: rgb(0, 0, 0); font-family: arial, helvetica,
sans-serif; background-color: transparent; font-style: normal;
"><font class="Apple-style-span" size="2"><br>
</font></div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
arial, helvetica, sans-serif; background-color: transparent;
font-style: normal; "><font class="Apple-style-span" size="2">Best
regards,</font></div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
arial, helvetica, sans-serif; background-color: transparent;
font-style: normal; "><font class="Apple-style-span" size="2">Fatemeh</font></div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ingrid Nieuwenhuis PhD
Postdoctoral Fellow
Sleep and Neuroimaging Laboratory
Department of Psychology
University of California, Berkeley
California 94720-1650
Tolman Hall, room 5305 </pre>
</body>
</html>