<div dir="ltr">Dear Mostafa,<div><br></div><div>Under the folder [root]/eeglab/plugins/SIFT1.33/scripts, you can find Tim's 'ScriptingExample.m' and other files. These files are USEFUL.</div><div><br></div><div>Tim is a great programmer. When you see his example code, you'll see how carefully he develops code; it's not only efficient but also for visually organized.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 11, 2015 at 2:52 AM, Mostafa IR <span dir="ltr"><<a href="mailto:mostafa.rouzbahani@gmail.com" target="_blank">mostafa.rouzbahani@gmail.com</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"><div><div>Hi eeglab<br><br></div>I want to use SIFT function without GUI. I read the functions help and all of them say that the functions available at <'name' , value> pairs. But it doesn't work for me and I couldn't to find any examples on internet. For example for preprocessing I write this script:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">EEG = pre_prepData(EEG,'selectComponents','2 3');<br></blockquote><br></div>but after processing all of my components still keep. When I use two pair for option I got an error.<br><div><div><div><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> EEG = pre_prepData(EEG,'VerbosityLevel',0,'SelectComponents',num2str(a));<br>Error using arg_define (line 406)<br>Some of the specified arguments do not appear in the argument specification;<br>{SelectComponents}.<br><br>Error in pre_selectcomps (line 74)<br>g = arg_define([0 1],varargin, ...<br><br>Error in arg_report>arg_report_lean (line 160)<br>    func(args{:});<br><br>Error in arg_report>do_report (line 125)<br>    feval(['arg_report_' lower(type)],func,args,have_expeval);<br><br>Error in arg_report (line 93)<br>    res = do_report(type,func,args);<br><br>Error in arg_sub>assign_argsub (line 203)<br>        spec.children = arg_report(reptype,source,[default,value]);<br><br>Error in<br>arg_sub>@(spec,value)assign_argsub(spec,value,reptype,source,defaults,suppressNames)<br>(line 192)<br>spec.assigner = @(spec,value)<br>assign_argsub(spec,value,reptype,source,defaults,suppressNames);<br><br>Error in arg_define (line 432)<br>            spec(idx) = spec(idx).assigner(spec(idx),nvps{k+1});<br><br>Error in pre_prepData (line 191)<br>g = arg_define([0 Inf], varargin, ... </blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> <br></blockquote><div><br></div><div>I will be appreciate if you could help me with some examples.<br><br></div><div>Thank You <br></div></div></div></div></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="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>
</div>