ucdavis/erplab

pop_syncroartifacts.m has invalid "equivalent command" output

Opened this issue · 0 comments

pop_syncroartifacts.m issue with argument call

When pop_syncroartifacts.m is called by the GUI, it outputs a "equivalent command" for scripting purposes but this command uses incorrect input argument calls, for example:

whereas correct syntax is:
pop_syncroartifacts(EEG,'Direction','Bidirectional');
the "equivalent command" is
pop_syncroartifacts(EEG,3);
which is invalid.


#### Steps to Reproduce Use GUI: ERPLAB > Artifact Detection in Epoched Data > Synchronize artifact info in EEG and Eventlist
#### Expected behavior: The "equivalent command" should output a command that uses the correct input arguments (according to the function documentation).
#### Actual behavior: [*What actually happened*]
#### Versions
OS version [fill in]
Matlab version [fill in]
EEGLAB version [fill in]
ERPLAB version 9.00