[FieldTrip] problem in pre-processing stage

Seyedeh Samane Shojaei samane.shojaie at gmail.com
Thu Aug 13 07:21:10 CEST 2015

Dear all,

I am a new user of FieldTrip, I got problem at the first stage of reading
data. I am using Matlab R2011a, windows 7, 64 bit.  when I run my code, the
following problem appears:

% ft_preprocessing of example dataset
cfg = [];
cfg.dataset = 'ArtifactRemoval.ds';
cfg.trialdef.eventtype = 'trial';
cfg = ft_definetrial(cfg);

Warning: could not determine filetype of ArtifactRemoval.ds
> In ft_filetype at 1221
  In utilities\private\dataset2files at 42
  In ft_checkconfig at 541
  In ft_definetrial at 128
  In ICAremoveEOG at 9
Warning: no trialfun was specified, using ft_trialfun_general
> In ft_definetrial at 135
  In ICAremoveEOG at 9
evaluating trialfunction 'ft_trialfun_general'
??? Error using ==> ft_read_header at 2053
unsupported header format (unknown)

Error in ==> ft_trialfun_general at 78
hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);

Error in ==> ft_definetrial at 174
    [trl, event] = feval(cfg.trialfun, cfg);

Error in ==> ICAremoveEOG at 9
cfg = ft_definetrial(cfg);

It is appreciated if you could help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150813/cac08b10/attachment-0001.html>

More information about the fieldtrip mailing list