<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello<div><br></div><div>I'm running into an issue with artifact detection (an ERPLAB function) although my error seems to be an EEGLAB error.</div><div><br></div><div>I have epochs time locked to an event that are -12200 to 0 ms. I'm using a simple voltage threshold for that time range for all channels at -90 90 uV. I've done this without an issue on data with a more standard epoch range (e.g., -200 to 1000). When I try to run this in Matlab 2016b with the most recent versions of ERPLAB and EEGLAB, it works, but if I want to interpolate a channel and then artifact detect, I get the following error:</div><div><div><br></div><div>Expected one output from a curly brace or dot indexing</div><div>expression, but there were 0 results.</div><div><br></div><div>Error in markartifacts (line 118)</div><div>                  EEG.EVENTLIST.eventinfo(itemzero).flag =</div><div>                  newflag;</div><div><br></div><div>Error in pop_artextval (line 243)</div><div>                        [EEG errorm]= markartifacts(EEG, flag,</div><div>                        chanArray, ch, i, isRT);</div></div><div><br></div><div>If I run this in Matlab 2012b using ERPLAB 6.1.3 and EEGLAB 12.0.2.6b. I get the same line error, but it says:  "Illegal right hand side in assignment. Too many elements."</div><div><br></div><div>Again, it works as long as I don't interpolate a channel, but I'm not sure why that would be. Any insights?</div><div><br></div><div>Thanks,</div><div>Brittany</div><div><br></div><div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px;margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><b>Brittany Alperin</b></span></font></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px;margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">PhD Candidate</span></font></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px;margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">ATTEND LAB</span></font></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px;margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Department of Behavioral Neuroscience</span></font></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px;margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Oregon Health & Science University</span></font></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px;margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Portland, OR</span></font></div></div></div></div></div>