<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Amna,<div class=""><br class=""></div><div class="">is there a specific reason why you want to export the ERPs as ICA components?</div><div class="">eegla2fieldtrip has the option to use ’timelock’ as the second input option, which might be more sensible in your case.</div><div class=""><br class=""></div><div class="">Hope that helps,</div><div class=""><br class=""></div><div class="">Julian<br class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 27.11.2019 um 02:23 schrieb Amna Hyder <<a href="mailto:hyder.amna@gmail.com" class="">hyder.amna@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi, <div class="">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" class="">https://mailman.science.ru.nl/pipermail/fieldtrip/2006-March/000441.html</a></div><div class="">I used the 'component analysis' option eg: <span style="white-space: pre-wrap;" class="">comp = eeglab2fieldtrip(ERP, 'componentanalysis').</span></div>However, I get the following error: <div class="">Reference to non-existent field 'icachansind'.<br class="">Error in eeglab2fieldtrip (line 54)<br class=""> header.label   = { tmpchanlocs(EEG.icachansind).labels };</div><div class=""><br class=""></div><div class="">When I comment out these lines I run into another error:</div><div class="">Reference to non-existent field 'icaact'.<br class=""><br class="">Error in eeglab2fieldtrip (line 119)<br class="">        if isempty(EEG.icaact)<br class=""></div><div class=""><br class=""></div><div class="">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 class="">Amna</div></div>
_______________________________________________<br class="">fieldtrip mailing list<br class=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">https://doi.org/10.1371/journal.pcbi.1002202<br class=""></div></blockquote></div><br class=""></div></div></body></html>