[FieldTrip] define events for ft_definetrial
jan.schoffelen at donders.ru.nl
Wed Jun 22 08:59:04 CEST 2011
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,
> 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?
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
> Beth Belluscio MD-PhD
> Clinical Fellow
> Human Motor Control Section
> NINDS, NIH
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip