[Eeglablist] Fully automatic pop_functions

Krogmeier, Claudia M ckrogmei at purdue.edu
Wed Apr 14 08:54:09 PDT 2021


 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,

More information about the eeglablist mailing list