[Eeglablist] Fully automatic pop_functions

Velu Prabhakar Kumaravel velu.kumaravel at unitn.it
Thu Apr 15 01:08:09 PDT 2021


Please try this:

 EEG = pop_eegmaxmin(EEG,[1:14],[0  5996.0938],100,5996.0938,1,0);EEG
=pop_TBT(EEG,EEG.reject.rejmaxminE,4,0.3,*0*); %setting the fifth parameter
to zero would avoid the confirmation pop-up!

Best,

Velu Prabhakar Kumaravel, PhD Student
Center for Mind/Brain Sciences,
University of Trento, Italy


On Thu, 15 Apr 2021 at 00:27, Krogmeier, Claudia M via eeglablist <
eeglablist at sccn.ucsd.edu> wrote:

> Hello,
>
>  I would like to create a fully automated script, but am finding several
> functions will always pop up menus in which the user must click "accept" or
> another option to continue code execution.
>
> Specifically for the function pop_eegmaxmin, I tried changing this
> function to eegmaxmin (to eliminate the pop functionality), but I receive
> an error that I have too many output parameters.
>
> I was able to fix this error, by changing the output parameter to only
> "EEG":
>
>     EEG = pop_eegmaxmin(EEG,[1:14],[0
> 5996.0938],100,5996.0938,1,0);EEG
> =pop_TBT(EEG,EEG.reject.rejmaxminE,4,0.3,1);
>
> However, this behaves the same as the pop function in that I must click
> accept.
>
> Is there a way to click accept in the code? (Are some functions only
> available with user input?)
>
> Thank you,
> C
>
>
>
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



More information about the eeglablist mailing list