<div dir="ltr">Hey Emmanuelle,<div><br></div><div>I think the most straightforward option (and this is what I currently do) would be to use pop_epoch from eeglab to bin the data separately for each condition, in a cell array. Then you can use eeglab2fieldtrip(bindat{i}, 'preprocessing') or something like that to convert it to fieldtrip. Alternatively, you could use that trial info to set up your own trial definition function such as in the tutorial: <a href="http://www.fieldtriptoolbox.org/tutorial/preprocessing">http://www.fieldtriptoolbox.org/tutorial/preprocessing</a> and call to it with ft_definetrial by setting that as your cfg.trialfun. </div><div><br></div><div>Best,</div><div>Max</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 27, 2018 at 7:04 AM, EMMANUELLE KRISTENSEN <span dir="ltr"><<a href="mailto:emmanuelle.kristensen@gipsa-lab.grenoble-inp.fr" target="_blank">emmanuelle.kristensen@gipsa-lab.grenoble-inp.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear All<br>
<br>
How could I import my EEG structure to fieldtrip,using eeglab2fiedtrip, with the events (EEG.epoch(i).eventtypes, EEG.epoch(i).eventlatency,... ), please?<br>
<br>
Regards,<br>
<br>
Emmanuelle<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Emmanuelle Kristensen<br>
<br>
______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.uc<wbr>sd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.e<wbr>du</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:small"><div>Max Cantor<br></div>Graduate Student</div><div style="font-size:small">Cognitive Neuroscience of Language Lab</div><span style="font-size:small">University of Colorado Boulder</span><br></div></div>
</div>