<div dir="ltr">Dear Fieldtrippers,<div><br></div><div>I use ft_defintrial function to perform triger-based trial segmentation of cnt files recorded from the ANT EEG system. In the earlier version of FieldTrip (e.g., 20140123) the resulted cfg.trl matrix has a size of n x 4, where the last column represents trigger values. </div><div><br></div><div>In the newer version of FT (e.g., 20150310), the resulted trl matrix contains only 3 columns and the 4th column about trigger values is missing. To note but maybe it is not important but I do not use the most recent version of Matlab (8.1.0.604, R2013a, student licence). </div><div><br></div><div>Could anyone give me a hint how can I add the trigger values to the cfg.trl matrix (ie. to the 4th column)? <br><div><br></div><div>My code is:</div><div><br></div><div><div>cfg                                  = [];</div><div>cfg.dataset                      = '20150302_1454.cnt';</div><div>cfg.trialfun                       = 'ft_trialfun_general';</div><div>cfg.trialdef.prestim           = 1.5;         </div><div>cfg.trialdef.poststim         = 2.0;          </div><div>cfg.trialdef.eventtype        = 'trigger';</div><div>cfg.trialdef.eventvalue      = {'2','3'};        </div><div>cfg                                  = ft_definetrial(cfg);</div><div><br></div><div>Many thanks in advance!</div><div><br></div><div>Zsolt</div>
</div></div></div>