<div dir="ltr">Dear Sophia,<div><br></div><div>What do you have EEG.data? You should use a debug mode and put a break point at line 1513 to intercept the process and check what's there. If it is not a matrix of double, it could be a bug.</div><div><br></div><div>You may want to report it to EEGLAB bugzilla.</div><div><a href="https://sccn.ucsd.edu/bugzilla/enter_bug.cgi">https://sccn.ucsd.edu/bugzilla/enter_bug.cgi</a><br></div><div>Thank you for your patience and cooperation.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 23, 2016 at 11:43 PM, Irene Sophia Mayer <span dir="ltr"><<a href="mailto:mi_mayer@gmx.de" target="_blank">mi_mayer@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>Dear EEGLAbers, </div>

<div> </div>

<div>I was hoping one of you might be able to help. I have preprocessed my data with fieldtrip and would like to load it into EEGLAB. </div>

<div> </div>

<div>I have tried to simply load it as matlab data but got the message: </div>

<div> </div>

<div>
<div>pop_editset(): raw data file 'C:....mat' found<br>
eeg_checkset note: upper time limit (xmax) adjusted so (xmax-xmin)*srate+1 = number of frames<br>
Creating a new ALLEEG dataset 1<br>
Done.<br>
Undefined function 'isnan' for input arguments of type 'struct'.</div>

<div>Error in eeglab>updatemenu (line 1513)<br>
    if ~isempty(ALLEEG) & CURRENTSET~= 0 & ~isequal(EEG.data, ALLEEG(CURRENTSET).data) & ~isnan(EEG.data(1))</div>

<div>Error in eeglab (line 307)<br>
            updatemenu;<br>
 <br>
Error while evaluating uimenu Callback</div>

<div> </div>

<div>I have also tried to use the function fieldtrip2eeglab but that gives me a description of the data but doesn't save it as a dataset. </div>

<div> </div>

<div>Any suggestions how I can do this?</div>

<div> </div>

<div>Cheers, </div><span class="HOEnZb"><font color="#888888">

<div>Sophia</div>
</font></span></div></div></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" 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>