[Eeglablist] Renaming events in EEGLAB – is modifying EEG.event.type enough?

Florencia Sanmartino florenciasanmartino at gmail.com
Tue Nov 4 07:35:03 PST 2025


Hi everyone,



I'm new to EEGLAB and would appreciate some guidance on how to safely
rename events in a continuous dataset.

I imported a .mff file that contains multiple events, and I’d like to
rename some of them based on participants’ responses (for instance, if an
event is labelled DI50 and the participant responded incorrectly, I want to
change it to DI56).

I tried doing this manually through *Edit > Event values > type*, but since
there are many events, I’d like to automate the process. I also tried
exporting the events to a text file, editing it, and importing it back, but
that caused import errors.

So, I’d like to rename the events directly in MATLAB. Is it sufficient to
modify EEG.event.type directly in a script, or are there other fields or
consistency checks I should run to make sure the dataset structure remains
valid for later steps?



Thanks in advance.
Florencia


More information about the eeglablist mailing list