<div dir="ltr">Hi, <div>I did all my preprocessing in EEGlab and ERPlab and wanted to put in my ERP files into fieldtrip to do the cluster permutation analysis on my ERPs. I tried using the function eeglab2fieldtrip as specified in the following link: <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2006-March/000441.html">https://mailman.science.ru.nl/pipermail/fieldtrip/2006-March/000441.html</a></div><div>I used the 'component analysis' option eg: <span style="color:rgb(0,0,0);white-space:pre-wrap">comp = eeglab2fieldtrip(ERP, 'componentanalysis').</span></div>However, I get the following error: <div>Reference to non-existent field 'icachansind'.<br>Error in eeglab2fieldtrip (line 54)<br> header.label   = { tmpchanlocs(EEG.icachansind).labels };</div><div><br></div><div>When I comment out these lines I run into another error:</div><div>Reference to non-existent field 'icaact'.<br><br>Error in eeglab2fieldtrip (line 119)<br>        if isempty(EEG.icaact)<br></div><div><br></div><div>It seems that this function requires ICA information in the EEGLAB ERP file, which isnt stored in the way that it is called. Can someone take a look into the function? Do I have to get the ERPs again in fieldtrip?</div><div>Amna</div></div>