[FieldTrip] Error in a given example

Hamza Fawzi Altakroury (Student) hamzaf at sabanciuniv.edu
Sat Apr 28 18:08:16 CEST 2012


Hello,

While trying to understand the ft_deinetrial

I tried the following example from the page (
http://fieldtrip.fcdonders.nl/tutorial/preprocessing)

cfg = [];
 cfg.dataset = 'Subject01.ds';
 cfg.trialdef.eventtype = 'backpanel trigger';
cfg.trialdef.eventvalue = 3; % the value of the stimulus trigger for fully
incongruent (FIC).
 cfg.trialdef.prestim = 1;    % in seconds
 cfg.trialdef.poststim = 2; % in seconds
 cfg = ft_definetrial(cfg);

I get the following error

readCTFds: Data set error : size of meg4 file(s)
                 0 bytes (from dir command)
         179071200 bytes (from res4 file)

reading the events from 'Subject01.ds\Subject01.res4'

readCTFds: Data set error : size of meg4 file(s)
                 0 bytes (from dir command)
         179071200 bytes (from res4 file)

??? Error using ==> ft_definetrial at 185
no trials were defined, see FT_DEFINETRIAL for help


I wonder why?

Best

-- 
Hamza Fawzi Altakroury
Graduate student - MA
Faculty of Engineering and Natural Sciences
Sabancı University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120428/0ba7edcf/attachment-0001.html>


More information about the fieldtrip mailing list