[FieldTrip] Reference to non-existent field 'statistic' !?????

Johanna Zumer johanna.zumer at donders.ru.nl
Wed Jun 8 14:54:48 CEST 2011


Dear Johann,

The function prepare_design should not be called by statistics_wrapper in
this specific case, since the cfg.design is specified in this tutorial
example.


cfg.design  = [ones(size(tleft.trial,1),1); 2*ones(size(tright.trial,1),1)];


Be sure to specifically add the multivariate directory and subdirectories to
your path for this example, otherwise it will crash complaining of not
finding other functions (for example ft_mv_standardizer.m)

Best,
Johanna


On 7 June 2011 01:36, Johann Heinz Martínez Huartos <johemart at gmail.com>wrote:

> Hello dear fieldtrip guys.
>
> Im new using this toolbox and i dont understand why is happened this error
> that i think it must be easy to solve but I have tryed and nothing happend.
> The thing is that im following (step by step) the tutorial for
> multivariableanalysis from fieldtrip wiki using the data that web link offer
> us. But when I run the command:
>
> stat = ft_timelockstatistics(cfg,tleft,tright);
>
> there are appear those errors:
>
> ??? Reference to non-existent field 'statistic'.
>
> Error in ==> prepare_design at 67
> if
> any(strcmp(cfg.statistic,{'indepsamplesT','indepsamplesregrT','indepsamplesZcoh','indepsamplesF'}))
>
> Error in ==> statistics_wrapper at 249
>   [cfg] = prepare_design(cfg);
>
> Error in ==> ft_timelockstatistics at 123
> [stat, cfg] = statistics_wrapper(cfg, varargin{:});
>
> Error in ==> JohannTestFieldtrip at 45
> stat = ft_timelockstatistics(cfg,tleft,tright);
>
> and i Dunno what can i do...
>
> Im using Matlab (R2011a) and the (fieldtrip-20110603). I have been looking
> for the documentation and i coundt find out how to fix it.
>
> Is it probably the matlab version very new?
> Which would be the last matlab version available using for?
>
> Thanks
>
>
> --
> Atentamente:
> Johann Martínez.
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110608/f5daecac/attachment-0002.html>


More information about the fieldtrip mailing list