[Eeglablist] ERPs from multiple events?

arno delorme arno at ucsd.edu
Mon Nov 24 19:10:30 PST 2008


On 16 nov. 08, at 18:10, Andrew Hill wrote:

> ok, perhaps a simpler question would be -  is there a way to
> conditionally substitute events in a record, using EEG lab?  for
> example: if events occur 1..2..3 then replace 3 with 10, or if
> 1...3...4... replace 3 with 9.

Dear Andrew,

Yes, this is possible in the Graphic Interface (menu Edit > Select  
epoch/event). Simply select events of type 3 and rename them by 10.  
Then repeat for each event type.

Hope this helps,

Arno

ps: from the command line

for i=1:length(EEG.event)
	if EEG.event(i).type == 3, EEG.event(i).type = 10;
end;



More information about the eeglablist mailing list