[Eeglablist] unable to add old reference back

XIAOYUE WANG wangxiaoyue43 at gmail.com
Sun Mar 15 20:47:40 PDT 2026


Hello,

I met an error when I tried to add the old reference channel back to the
data:
*error in pop_reref() at line 393:*
*Missing rereference channel information. Edit channels and add reference
first.*


However, I added the reference (Cz) in advance, following the tutorial:
https://urldefense.com/v3/__https://eeglab.org/tutorials/05_Preprocess/rereferencing.html__;!!Mih3wA!Di7pqJ3OpuqYkX8Tv2VB9MuijZRkncIwhDF0eSCmLLRwwyrtslO6-DiAvHcdXzxP6tKVVVsShXGbUZ4C5gED7w45EmCj$ 

by EEG=pop_chanedit(EEG,
{'lookup','D:\\MATLAB\\eeglab2026.0.0\\functions\\supportfiles\\channel_location_files\\eeglab\\Standard-10-20-Cap81.ced'},'append',63,'changefield',{64,'labels','Cz'},'lookup','D:\\MATLAB\\eeglab2026.0.0\\functions\\supportfiles\\channel_location_files\\eeglab\\Standard-10-20-Cap81.ced','setref',{'1:67','Cz'},'settype',{'','EEG'},'settype',{'1:64','EEG'},'changefield',{64,'datachan',1},'changefield',{64,'datachan',0});

My recording system is antiCHamp Plus, BP,64Ch-Wet-Sponge R-Net, with Cz as
online reference and Fpz as the GND.

How can I fix the error? Any advice is greatly appreciated. Many thanks!


Best,
Xiaoyue


More information about the eeglablist mailing list