[FieldTrip] Error in a given example

Hamza Fawzi Altakroury (Student) hamzaf at sabanciuniv.edu
Sun Apr 29 07:01:00 CEST 2012


Hello,

I discovered the solution, I should but the full path of 'Subject01.ds'.
I did not saw that in the tutorial but I found that in the previous
messages.

Best

On Sat, Apr 28, 2012 at 7:08 PM, Hamza Fawzi Altakroury (Student) <
hamzaf at sabanciuniv.edu> wrote:

> 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
>



-- 
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/20120429/76a24563/attachment-0002.html>


More information about the fieldtrip mailing list