<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, </div><div><br></div><div>I have EEGLAB v13.4.4 and I am trying to use GUI to create a history file for multiple subject processing. </div><div>Midway, while trying to reject abnormal spectra using pop_rejspec.m, I ran into an issue with eegplot with the following error:</div><div><br></div><div><div>Reference to non-existent field 'freqs'.</div><div>Error in eegplot (line 256)<br></div><div> [temp, fBeg] = min(abs(g.freqs-g.freqlimits(1)));</div><div><br></div><div>Error in pop_rejspec (line 212)</div><div><span style="white-space:pre-wrap"> </span>eegplot( allspec(elecrange,:,:), 'srate', EEG.srate, 'freqlimits',</div><div> [1 EEG.srate/2], 'command', ...</div><div> Error while evaluating UIControl Callback</div></div><div><br></div><div><b>So, I updated the pop_rejspec code with what looked like a later version from the UCSD website. However I ran, into the following error with eegplot:</b></div><div><div><br></div><div>Error using eegplot (line 324)</div><div>eegplot: unrecognized option: 'movebutton'</div><div><br></div><div>Error in pop_rejspec (line 270)</div><div><span style="white-space:pre-wrap"> </span>eegplot(EEG.data(elecrange,:,:), 'winlength', 5, 'position',</div><div> [100 550 800 500], ...</div><div> </div><div>Error while evaluating UIControl Callback</div></div><div><br></div><div><b>Following this error, I updated the eegplot with a latest version from UCSD website and ran into the next error, </b></div><div><br></div><div>Error using matlab.graphics.Graphics/set</div><div>The name 'Units' is not an accessible property for an instance of</div><div>class 'matlab.graphics.GraphicsPlaceholder'.</div><div><br></div><div>Error in eegplot (line 980)</div><div> set(u,'Units','Normalized')</div><div><br></div><div>Error in pop_rejspec (line 270)</div><div><span style="white-space:pre-wrap"> </span>eegplot(EEG.data(elecrange,:,:), 'winlength', 5, 'position',</div><div> [100 550 800 500], ...</div><div><br></div><div>The pop_rejspec.m looks like a neat function according to the tutorial. Could someone help me to get past these errors, if this is not a serious bug ?</div><div><br></div><div>Alex</div></div>
</blockquote></div><br></div></div>