error offset

Robert Oostenveld r.oostenveld at FCDONDERS.RU.NL
Fri Nov 28 10:57:41 CET 2008

On 26 Nov 2008, at 16:30, Marco SPERDUTI wrote:

> Hi all,
> i'm trying to do frequency analysis with mtmconvol, but it gives me
> this error:
> ??? Reference to non-existent field 'offset'.
> Error in ==> freqanalysis_mtmconvol at 323
>    min_smp = min(data.offset);
> ...
> any idea?

This field should be added by the checkconfig function (see line 157
in freqanalysis). It uses the time2offset helper function. Could you
use the matlab debugger to check that it is actually added?


The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also and

More information about the fieldtrip mailing list