[Eeglablist] ERP based on mulitple triggers

Xianghong xianghong at hmri.org
Wed Sep 24 15:06:07 PDT 2014

Hi, Steve:

Thank you so much for the information, that is very helpful. 
I am trying to download the new version of ERPLAB and unzip it into EEGLAB plugin. However, when I open EEGLAB in the matlab, I could not see the ERPLAB on the EEGLAB menu. Do you know what should I do?
Thank you,
Best regards,


From: politzerahless at gmail.com [politzerahless at gmail.com] On Behalf Of Stephen Politzer-Ahles [spa268 at nyu.edu]
Sent: Tuesday, September 23, 2014 10:16 AM
To: Xianghong
Cc: Ramón Martinez; eeglablist at sccn.ucsd.edu
Subject: Re: [Eeglablist] ERP based on mulitple triggers

Hi Xianghong,

The EEG.event or EEG.epoch structures have the triggers, and you can use this modify triggers based on neighboring events. For example, if you want to find all instances of trigger 1 that are immediately followed by trigger 2, you can write a loop in MATLAB that compares EEG.event(n) to EEG.event(n+1) and rewrites the appropriate events (for example, converts those 1s into 12s); it's hard to say more without knowing specifically what you want to do, but there are earlier messages on this mailing list with sample code for doing things like this.

Alternatively, if you don't want to do it in MATLAB code, I believe the ERPLAB plugin has a lot of options for advanced trial selection like this.


Stephen Politzer-Ahles
New York University, Abu Dhabi
Neuroscience of Language Lab

On Tue, Sep 23, 2014 at 1:55 AM, Xianghong <xianghong at hmri.org<mailto:xianghong at hmri.org>> wrote:

I want to analyze the ERPs based on trigger 1, as well as other triggers (such as trigger 2 for correct responses only). How could I do that?

Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu<mailto:eeglablist-unsubscribe at sccn.ucsd.edu>
For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu<mailto:eeglablist-request at sccn.ucsd.edu>

More information about the eeglablist mailing list