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

Johann Heinz Martínez Huartos johemart at gmail.com
Wed Jun 8 22:14:18 CEST 2011


Hello dear.

Thnks a lot for your comments. I was very useful, eventually i was added all
the fieldtrip directory including its subdirectories in order to avoid
future problems and at the end it was succesfully instaled in my Matlab
R2011b version.

Best.

Johann.

On 8 June 2011 14:54, Johanna Zumer <johanna.zumer at donders.ru.nl> wrote:

> 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
>>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>



-- 
Atentamente:
Johann Martínez. M.Sc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110608/bb2d7d8e/attachment-0002.html>


More information about the fieldtrip mailing list