<div dir="ltr"><div><div><div><div><div><div><div><div>Hi everybody,<br><br></div>I'm trying to use Fieldtrip in order to reject automatically artifacts on my dataset. I'm working with EEG data previously preprocessed in EEGLAB, thus their extension is .set.<br></div>I'm tryng to follow and adapt the tutorial for MEG data at <a href="http://www.fieldtriptoolbox.org/tutorial/automatic_artifact_rejection">http://www.fieldtriptoolbox.org/tutorial/automatic_artifact_rejection</a>, but I found some problems.<br><br></div>1. It doesn't recognize assignment cfg.trl = trl. For this reason I tried to use ft_definetrial in order to get the matrix cfg.trl, but it still gives me problems:<br></div>2. Specifically: Error using ==> ft_read_data at 206 - cannot read data before the begin of the file<br><br></div>Do you have any suggestion?<br><br></div>Thank you very much in advance!<br></div>Best,<br></div>Federica<br></div>