<div dir="ltr">Dear Martina,<div><br></div><div>I would like you to try the following:</div><div><br></div><div>EEG.data = double(EEG.data);</div><div><br></div><div>Does this work? If so, maybe you need to load the data *after* changing the single/double option.</div><div><br></div><div>Sorry for inconvenience. I'll appreciate if you can also file your report to EEGLAB bugzilla</div><div><a href="https://sccn.ucsd.edu/eeglab/bugzilla/">https://sccn.ucsd.edu/eeglab/bugzilla/</a><br></div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 5, 2015 at 4:02 AM, Martina Locatelli <span dir="ltr"><<a href="mailto:martina.locatelli@mail.polimi.it" target="_blank">martina.locatelli@mail.polimi.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi!<br>
</p>
<p>I have the same problem described in the following mail I found surfing eeglablist: </p>
<pre style="white-space:pre-wrap">On Tue, Dec 9, 2014 at 5:48 PM, Ying Li <<a href="http://sccn.ucsd.edu/mailman/listinfo/eeglablist" target="_blank">yingli.ucla at gmail.com</a>> wrote:
><em>
</em>><em> Hi everyone,
</em>><em>
</em>><em> Recently I'm using the fmrib plug-in to remove the fMRI-related artifact
</em>><em> in EEG signal. When I tried to remove the gradient artifacts by clicking
</em>><em> Tools > FMRIB Tools > FASTR: Remove FMRI gradient artifacts > ok, I met an
</em>><em> error "Input argument must be double" (as attached).
</em>><em>
</em>><em> The matlab version I used is R2011b (Mac) R2012b (in Mac) and R2014a (in
</em>><em> Windows). All of them will encounter this error. My friend who used R2008
</em>><em> said it would work, but nowadays it's difficult to find such an old version
</em>><em> of Matlab.
</em>><em>
</em>><em> Thus, I'm wondering whether there are any updated version of fmrib, or are
</em>><em> there any solutions to fix this error? I'll appreciate your help a lot!
</em>><em>
</em>><em> Best wishes,
</em>><em>
</em>><em> Ying</em></pre>
<pre style="white-space:pre-wrap"><span style="font-family:Calibri,Arial,Helvetica,sans-serif">I'm using the example EEG dataset downloaded directly from the FMRIB plug-in web site (<a href="http://fsl.fmrib.ox.ac.uk/eeglab/fmribplugin/" target="_blank">http://fsl.fmrib.ox.ac.uk/eeglab/fmribplugin/</a>) and my matlab version is the R2013b one (Windows).</span><br></pre>
<pre style="white-space:pre-wrap"><span style="font-family:Calibri,Arial,Helvetica,sans-serif">I found this answer too: </span><pre style="white-space:pre-wrap">>Dear Ying,

>Most likely your EEG.data is single. Open EEGLAB options and uncheck 'use
>single precision' to let it use double.

>Makoto<br></pre><pre style="white-space:pre-wrap"><span style="font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif">I did as told but nothing has changed and I encounter the same error: "Input argument must be double"<em>. ​</em>What can I do? </span><span style="font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif">Thanks a lot for any help.</span><br></pre><pre style="white-space:pre-wrap"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">Best wishes,</span></pre><pre style="white-space:pre-wrap"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">Martina</span></pre><pre style="white-space:pre-wrap"><br></pre><div><br></div></pre>
<p><br>
</p>
</div>
</div>

<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div>