eeglab
                                
                                 eeglab copied to clipboard
                                
                                    eeglab copied to clipboard
                            
                            
                            
                        Error in EEGLAB useing LIMO when processing ersp data
The version of EEGLAB I am using is 2022.0, the version of FieldTrip version is 2020, and my MATLAB version is 2022b. After I precomputed my spec and ersp, I edited my study design. I want to use the continuous variable PE (each trial corresponds to a PE value) to perform a regression analysis with my ersp and then use an independent samples t-test to identify the time-frequency points related to PE. I follow the instruction in eeglab.wiki, every thing goes well until I ran my code for ersp:
STUDY = pop_limo(STUDY, ALLEEG, 'method','WLS','measure','dattimef',... 'freqlim',[2 50],'erase','on','splitreg','off','interaction','off'); However, it shows the following error: "Unrecognized field name 'F'." The error occurs at line 865 in the limo_glm function: tmpF(f,:) = reshape(model.conditions.F(f,:,:), [n_freqs*n_times,1]); But when I process ERP and spec data, there are no issues. I can plot the figure of ersp, there is no problem. I wonder where is the problem occured.