[Eeglablist] error on pop_relica command

sara.kamali at uam.es sara.kamali at uam.es
Tue Jul 26 01:23:43 PDT 2022


Hi all,


When I run Relica GUI on my data it runs successfully. But I get a  
warning message regarding the dimension of the data. My data is  
common-referenced Biosemin 64 so the data rank is 63.
So I decided to alter the relica code to apply 'runica.pca= number of  
independent channels' to it. However, in the first step, I get an  
error message on my script on pop_relica. The message is as follows (  
I should say I copy-pasted the exact pop_relica command from eegh, so  
it is what runs with EEGlab GUI but gets an error on the script. The  
EEG is preprocessed in the script the same way as it is preprocessed  
with EEGlab so the dimensions of EEG.data are the same in both case):


Index exceeds the number of array elements. Index must not exceed 1.

Error in finputcheck>removedup (line 252)
     cella = cella(sort(union(indices*2-1, indices*2)));

Error in finputcheck (line 115)
                 vararg = removedup(vararg, verbose);

Error in pop_relica (line 151)
     g = finputcheck(varargin, ...

Error in preprocessingBiosemi64forRELICA (line 118)
         [EEG_postrelica,com] = pop_relica(EEG, 150, 'runica',  
'trial', 'C:\Users\SARA\Documents\MATLAB code and  
Datasets\Datasets\Motor Imagery Dataset\RELICA results','local');

>>



I can not figure out why this is happening. I would be thankful if  
anyone can help me with this.

Best,
Sara






More information about the eeglablist mailing list