<div dir="ltr"><div>Hello,</div><div><br></div><div>I have been trying to run the ICA analysis from EEGLAB from the command line and all is going well until I try to remove components. I have marked components using:</div><div>[EEG] = pop_selectcomps(EEG);<br></div><div>and that is working just fine, however, when I try to remove the selected components using:</div><div>(EEG) = pop_subcomp(EEG);<br></div><div>I get the following error:</div><div><div>(EEG) = pop_subcomp(EEG);</div><div> ↑</div><div>Error: The expression to the left of the equals sign is not a valid target for an assignment.</div></div><div><br></div><div>Any help would be appreciated.</div><div><br>Cheers</div><div><br></div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Olav Krigolson, PhD</div><div><br></div><div><a href="http://www.bristol.ac.uk/ias/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">IAS</a><span style="font-size:12.8px"> </span><a href="http://www.bristol.ac.uk/ias/fellowships/meakers/krigolson/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">Benjamin Meaker Visiting Professor</a><span style="font-size:12.8px">, University of Bristol</span><br></div><div><br>Director, Neuroeducation Network, <a href="http://www.uvic.ca/neuroeducation" target="_blank">www.uvic.ca/neuroeducation</a></div><div>Associate Director, Centre for Biomedical Research, <a href="http://www.cbr.uvic.ca" target="_blank">www.cbr.uvic.ca</a><br>Associate Professor, Neuroeconomics Laboratory, <a href="http://www.neuroeconlab.com" target="_blank">www.neuroeconlab.com</a><br><br>Affiliations: <br>Neuroscience Program, Cross Appointment</div><div>Department of Psychology, Cross Appointment</div><div><span style="font-size:12.8px">School of Exercise Science, Associate Professor</span></div><div><br>Email: <a href="mailto:krigolson@uvic.ca" target="_blank">krigolson@uvic.ca</a><br>Phone: 250 721 7843<br>Fax: 250 721 6601<br>Office: McKinnon 187<br><br>Mailing Adress:<br>PO Box 1700 STN CSC<br>University of Victoria<br>Victoria, British Columbia<br>Canada<br>V8W 2Y2</div></div></div></div></div></div></div></div></div></div></div></div>
</div>