.......<br><br>Yours Hanneke<br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 1:31 PM, Hanneke Van Dijk <span dir="ltr"><<a href="mailto:Hanneke.vanDijk@med.uni-duesseldorf.de">Hanneke.vanDijk@med.uni-duesseldorf.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear Claudia,<br>
<br>
Sorry the attachnment didn't stick...<br>
<br>
Yours,<br>
<br>
Hanneke<br>
<br>
<br>
-----Ursprüngliche Nachricht-----<br>
Von: FieldTrip discussion list im Auftrag von Hanneke Van Dijk<br>
Gesendet: Do 10.09.2009 13:21<br>
<div class="im">An: <a href="mailto:FIELDTRIP@NIC.SURFNET.NL">FIELDTRIP@NIC.SURFNET.NL</a><br>
</div>Betreff: [FIELDTRIP] AW: [FIELDTRIP] freqstastics script<br>
<div><div></div><div class="h5"><br>
Dear Claudia,<br>
<br>
Normally when matlab says 'undefined function for input of type ....' it means it cannot find the specific function in the paths you have defined. You can check whether neighbourselection.m is in your fieldtrip folder, if not I have attached it (version 20090428) so you can put it there. If this doesn't fix it please let me know!<br>

<br>
Groetjes Hanneke<br>
<br>
<br>
-----Ursprüngliche Nachricht-----<br>
Von: FieldTrip discussion list im Auftrag von Bonin, Claudia (NIH/NINDS) [F]<br>
Gesendet: Mi 09.09.2009 18:26<br>
An: <a href="mailto:FIELDTRIP@NIC.SURFNET.NL">FIELDTRIP@NIC.SURFNET.NL</a><br>
Betreff: [FIELDTRIP] freqstastics script<br>
<br>
I am trying to do statistics on time-frequency data across 16 subjects, averaging over channels. I received back the following error about 'neighbourselection' which means nothing to me.....Does anyone have any idea what might be wrong here? I have pasted in the exact message below.<br>

thanks!<br>
claudia<br>
<br>
<br>
>> cfg.statistic = 'kruskalwallis';<br>
>> cfg.method = 'stats';<br>
>> [s] = freqstatistics(cfg, fr, fr);<br>
averaging over 3 channels<br>
selected 50 time bins<br>
selected 41 frequency bins<br>
Warning: PACK can only be used from the MATLAB command line.<br>
> In fieldtrip/private/prepare_timefreq_data at 305<br>
  In fieldtrip/private/statistics_wrapper at 167<br>
  In freqstatistics at 44<br>
??? Undefined function or method 'neighbourselection' for input arguments of type<br>
'struct'.<br>
<br>
Error in ==> statistics_wrapper at 181<br>
    cfg = neighbourselection(cfg,varargin{1});<br>
<br>
Error in ==> freqstatistics at 44<br>
[stat] = statistics_wrapper(cfg, varargin{:});<br>
----------------------------------<br>
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 <a href="http://listserv.surfnet.nl/archives/fieldtrip.html" target="_blank">http://listserv.surfnet.nl/archives/fieldtrip.html</a> and <a href="http://www.ru.nl/neuroimaging/fieldtrip" target="_blank">http://www.ru.nl/neuroimaging/fieldtrip</a>.<br>

<br>
<br>
<br>
----------------------------------<br>
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 <a href="http://listserv.surfnet.nl/archives/fieldtrip.html" target="_blank">http://listserv.surfnet.nl/archives/fieldtrip.html</a> and <a href="http://www.ru.nl/neuroimaging/fieldtrip" target="_blank">http://www.ru.nl/neuroimaging/fieldtrip</a>.<br>

<br>
<br>
<br>
----------------------------------<br>
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 <a href="http://listserv.surfnet.nl/archives/fieldtrip.html" target="_blank">http://listserv.surfnet.nl/archives/fieldtrip.html</a> and <a href="http://www.ru.nl/neuroimaging/fieldtrip" target="_blank">http://www.ru.nl/neuroimaging/fieldtrip</a>.<br>

</div></div></blockquote></div><br>
<p>----------------------------------</p>
<p>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.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>