<div dir="ltr">Dear Tina,<div><br></div><div>I encountered the same problem before. However, the error message you got indicates that it could be still different from what I know. Therefore I suggest the most likely solution first to see if it works. My confidence is 70%.</div><div><br></div><div>Check whether eeg_option file is correctly generated and stored in your local harddisk (my document or whatever root folder EEGLAB specifies). If it is not generated and saved properly, you may have trouble.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 4:59 AM, Tina Moeckel <span dir="ltr"><<a href="mailto:Moeckel@ifado.de" target="_blank">Moeckel@ifado.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="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<p class="MsoNormal"><span lang="EN-GB">Dear EEGLAB Users, <br>
</span></p>
<p class="MsoNormal"><span lang="EN-GB"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-GB">I have a problem with pop_runica. After running the ICA, EEG.icaact is still empty.<span>Â
</span>I receive an error warning ("inconsistent number of trials in raw data structure") when I try to run a function that tries to use data from EEG.icaact. We tried to solve the problem by adding the following loop:</span></p>
<p class="MsoNormal"><span lang="EN-GB">for i=1:EEG.trials</span></p>
<p class="MsoNormal"><span lang="EN-GB"><span>Â Â </span>
EEG.icaact(:,:,i)=(EEG.icaweights*EEG.icasphere)*EEG.data(EEG.icachansind,:,i);</span></p>
<p class="MsoNormal"><span lang="EN-GB">end;</span></p>
<p class="MsoNormal"><span lang="EN-GB">After that EEG.icaact is filled with the appropriate data. However, when running another function or eeg_checkset the program empties EEG.icaact again and gives the same error warning as described above.
<br>
</span></p>
<p class="MsoNormal"><span lang="EN-GB"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-GB">Kind regards,</span></p>
<span style="font-size:12.0pt;font-family:Cambria" lang="EN-GB">Tina</span>
</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>