<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000">Hello Makoto,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000">I did some tests, and I realized that while it works fine as a function, when I try to put it in a loop, it fails to recognize runica as a valid parameter. Here's an example:</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000">for i = 1:length(EEG)</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000"> </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000">new_egg_ica = pop_runica(EEG{i},'icatype','runica');</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000">end</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000">This is a scenario where it fails. In cases where I don't iterate through anything, it runs fine.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000">Let me know if there's any more information I can provide.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000">Thanks,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#000000">Vishal<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 10, 2016 at 6:15 PM, Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</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">Dear Vishal,<div><br></div><div>This should probably go to EEGLAB Bugzilla.</div><div><a href="https://sccn.ucsd.edu/bugzilla/enter_bug.cgi" target="_blank">https://sccn.ucsd.edu/<wbr>bugzilla/enter_bug.cgi</a><br></div><div>You may want to file the problem there. I appreciate your patience and cooperation.</div><div><br></div><div>Meanwhile, as a workaround and testing, I suggest you don't use 'icatype' option because the default is 'runica' anyway. What version of Matlab are you using by the way? I've never heard of the problem before.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Aug 4, 2016 at 1:41 PM, Vishal Vijayakumar <span dir="ltr"><<a href="mailto:vijay059@umn.edu" target="_blank">vijay059@umn.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(0,0,0)">Hello,</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(0,0,0)">Until recently, I've been able to use runica in scripts by using pop_runica(EEG,'icatype','runi<wbr>ca').</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(0,0,0)">However, after performing pre-processing on a dataset, the pop_runica algorithm fails to recognize it as a parameter, displaying the following error:</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default"><font color="#000000" face="trebuchet ms, sans-serif">pop_runica error: wrong value for argument 'icatype'</font></div><div class="gmail_default"><font color="#000000" face="trebuchet ms, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="trebuchet ms, sans-serif">I don't understand the error. The runica option does not show up in the gui either. The same command works well for fastICA. I tried to download the toolbox and run it again, but I still face the same issue. </font></div><div class="gmail_default"><font color="#000000" face="trebuchet ms, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="trebuchet ms, sans-serif">I would appreciate any help you can provide in this issue!</font></div><div class="gmail_default"><font color="#000000" face="trebuchet ms, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="trebuchet ms, sans-serif">Thanks,</font></div><div class="gmail_default"><font color="#000000" face="trebuchet ms, sans-serif">Vishal</font></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank" rel="noreferrer">http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.uc<wbr>sd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.e<wbr>du</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="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>
</font></span></div>
</blockquote></div><br></div>