<div dir="ltr">Dear Olav, <div><br></div><div>I think you can try: <span style="font-size:12.8px">[EEG] = pop_subcomp(EEG); </span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">or simply: </span><span style="font-size:12.8px">EEG = pop_subcomp(EEG);</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Best,</span></div><div><span style="font-size:12.8px">Chao</span></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><font size="2" face="arial, helvetica, sans-serif">Chao Wang, PhD Candidate</font><div><font size="2" face="arial, helvetica, sans-serif">Institute of Biomedical Engineering<br>Xi'an Jiaotong University<br>No.28, Xianning West Road, Xi'an, P.R. China</font></div></div></div></div>
<br><div class="gmail_quote">On Wed, May 31, 2017 at 3:00 AM,  <span dir="ltr"><<a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---------- Forwarded message ----------<br>From: Olav Krigolson <<a href="mailto:krigolson@gmail.com">krigolson@gmail.com</a>><br>To: <a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br>Cc: <br>Bcc: <br>Date: Mon, 29 May 2017 12:33:31 +0100<br>Subject: [Eeglablist] Command Line ICA Issue<br><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-m_3619315404433485291gmail_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:  <a href="tel:(250)%20721-7843" value="+12507217843" target="_blank">250 721 7843</a><br>Fax:   <a href="tel:(250)%20721-6601" value="+12507216601" target="_blank">250 721 6601</a><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></blockquote></div><br></div></div></div>