[Eeglablist] Error in pop_runica (line 412)
Delorme, Arnaud
adelorme at ucsd.edu
Thu Dec 31 10:28:42 PST 2020
Dear Angelika,
The call to pop_runica seems OK.
Would you mind to share a dataset? Also, please use the Github issues, as it will be easier to track our exchange.
https://urldefense.com/v3/__https://github.com/sccn/eeglab/issues__;!!Mih3wA!TFNRitlXhpcvZCEYGYvu2DElUxuiG43Q2Unfm8T_J2uznFWVp32PV436wePMWUBaIMPauw$
Best wishes,
Arno
> On Dec 29, 2020, at 12:23 AM, Angelika Wolman <rwolman at hotmail.de> wrote:
>
> Hello all,
>
>
> When I run this code below, I get two errors.
>
> Code:
> for i = 1:length(files)
> filename = files(i).name;
>
> EEG = pop_loadset( 'filename', filename, 'filepath', directory_name);
> EEG = eeg_checkset( EEG );
>
> EEG = pop_runica(EEG,'extended',1,'interupt','on','icatype','runica');
> EEG = eeg_checkset( EEG );
>
> [artcomps] = MARA(EEG);
> EEG = pop_subcomp(EEG,artcomps,0);
> EEG = eeg_checkset(EEG);
> EEG = pop_saveset(EEG, 'filename',[filename(1:end-4), '_ICA_MARA.set'],'filepath',[directory_name '/preproc']);
> end
>
>
> 1. The first error is as follows:
>
> Error in pop_runica (line 412)
> [EEG.icaweights,EEG.icasphere] = runica( tmpdata, 'lrate', 0.001, g.options{:} );
>
> I'm new to matlab and eeglab and I cannot imagine that I should change something in the runica command at all.
>
>
>
> 2. The second indicates an error on the line I marked in red, again with pop_runica:
>
> Error in Loop_preprocess (line 105)
> EEG = pop_runica(EEG,'extended',1,'interupt','on','icatype','runica');
>
>
>
>
> When I use the GUI, it also shows me the pop_runica (line 412) error.
>
> Can anyone tell me what I'm supposed to do with these errors?
> I use matlab 2017b and eeglab2020.
>
> Thank you for your ideas and suggestions 🙂
>
> Best,
> Angelika
> _______________________________________________
> 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