[FieldTrip] define events for ft_definetrial

jan-mathijs schoffelen jan.schoffelen at donders.ru.nl
Wed Jun 22 08:59:04 CEST 2011


Dear Beth,

It could be that your dataset is corrupt.

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

This is namely a low level reading error. It then percolates to the  
next step, where

>
>                 ??? Attempt to reference field of non-structure array.

which is most likely caused by FieldTrip not having been successful in  
creating an event structure.

>
>                 Error in è trialfun_general at 111
>                 For i=find(strcmp(cfg.trialdef.eventtype,  
> {event.types}))
>
>                 Error inè ft_definetrial at 126
>                 [trl, event] = feval(cfg.trialfun, cfg)
>
> Is this a problem with the way I am defining the events?  How can I  
> use these markers within the data file to specify events in fieldtrip?

Does this pertain to this particular dataset?

Best

Jan-Mathijs

PS: please update to a more recent version of FieldTrip: the content  
of the line number in which the errer occurs does not coincide with my  
version


>
> Thanks,
>
> Beth Belluscio MD-PhD
> Clinical Fellow
> Human Motor Control Section
> NINDS, NIH
> 301-402-3495
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Dr. J.M. (Jan-Mathijs) Schoffelen
Donders Institute for Brain, Cognition and Behaviour,
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
Telephone: 0031-24-3614793

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110622/3c19b491/attachment-0002.html>


More information about the fieldtrip mailing list