Hello dear fieldtrip guys.<br><br>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:<br>
<br><span style="background-color: rgb(255, 255, 102);">stat = ft_timelockstatistics(cfg,tleft,tright);</span><br clear="all"><br>there are appear those errors:<br><br><span style="color: rgb(255, 0, 0);">??? Reference to non-existent field 'statistic'.</span><br style="color: rgb(255, 0, 0);">
<br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Error in ==> prepare_design at 67</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">if any(strcmp(cfg.statistic,{'indepsamplesT','indepsamplesregrT','indepsamplesZcoh','indepsamplesF'}))</span><br style="color: rgb(255, 0, 0);">
<br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Error in ==> statistics_wrapper at 249</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">  [cfg] = prepare_design(cfg);</span><br style="color: rgb(255, 0, 0);">
<br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Error in ==> ft_timelockstatistics at 123</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">[stat, cfg] = statistics_wrapper(cfg, varargin{:});</span><br style="color: rgb(255, 0, 0);">
<br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Error in ==> JohannTestFieldtrip at 45</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">stat = ft_timelockstatistics(cfg,tleft,tright);</span><br style="color: rgb(255, 0, 0);">
<br>and i Dunno what can i do...<br><br>Im using Matlab (R2011a) and the (fieldtrip-20110603). I have been looking for the documentation and i coundt find out how to fix it.<br><br>Is it probably the matlab version very new?<br>
Which would be the last matlab version available using for?<br><br>Thanks<br><br><br>-- <br>Atentamente:<br>Johann Martínez.<br>