sccn / clean_rawdata

Cleaning Raw EEG data
GNU General Public License v3.0
42 stars 17 forks source link

errors when using clean_rawdata or clean_artifacts in eeglab2019_1 #7

Closed arnodelorme closed 4 years ago

arnodelorme commented 4 years ago

Dear Sir/Madam, I used "clean_rawdata" function downloaded from the plugin list in the EEGlab wiki with the old eeglab version "eeglab14_1_2b", "EEG = clean_rawdata(EEG, 5, [-1], 0.8, 4, 20, 0.25)", everything was ok, no error appears. However, I am using the "eeglab2019_1" version now that contains clean_rawdata and clean_artifacts in the plugin folder, but the clean_rawdata and clean_artifacts functions appears the following error no matter "EEG = clean_rawdata(EEG, 5, 'off', 0.8, 4, 20, 0.25)" and even I use " clean =clean_artifacts(EEG);"

"Error using distance (line 93) Not enough input arguments. Error in clean_artifacts (line 230) if ~strcmpi(distance, 'euclidian')"

Would you please help me on this problem? Thank you very much. Best regards, Jane

arnodelorme commented 4 years ago

Dear Jane,

This is because the old version is probably still in the Matlab path. Would you mind to delete the folder?

Best wishes,

Arno