sccn / eeglab

EEGLAB is an open source signal processing environment for electrophysiological signals running on Matlab and developed at the SCCN/UCSD
https://eeglab.ucsd.edu/
Other
593 stars 241 forks source link

cellmatselect() error message #813

Open clayishmarmot19 opened 1 week ago

clayishmarmot19 commented 1 week ago

Description

I'm using EEGLAB v2024.2 with Matlab2022b to plot channel measures (6 channels) using the STUDY function. EEGLAB statistics run and plot appropriately but when I opt to use Fieldtrip statistics using "fieldtrip-lite20240111" the following error message pops up.

"EEGLAB error in function cellmatselect() at line 1346: Index in position 2 exceeds array bounds. Index must not exceed 6."

When I search for this cellmatselect() function in both EEGLAB folders and fieldtrip plugin folders I cannot find the code to examine what the line 1346 is for.


Steps to Reproduce

  1. Within the STUDY feature, go to "Plot Channel Measures"
  2. Within the "Stats" features select "Fieldtrip statistics-Permutation statistics-Cluster corrected-p value of 0.05"
  3. Plot ERSP(s)


Expected behavior: ERSP output for my selected variables should show with cluster-corrected permutation statistics indicating clusters of significant differences.


Actual behavior: Error message regarding a function that I cannot locate (cellmatselect)


Versions

OS version [Windows 10]
Matlab version [2022b]
EEGLAB version [2024.2]
arnodelorme commented 1 week ago

Would you mind sharing a study so we could reproduce the problem?

clayishmarmot19 commented 1 week ago

Sure thing. In addition to the .study file, are the .set and .dattimef files needed? This study has 40 subjects.