freqstastics script

Hanneke Van Dijk Hanneke.vanDijk at MED.UNI-DUESSELDORF.DE
Thu Sep 10 13:31:52 CEST 2009


Dear Claudia,

Sorry the attachnment didn't stick...

Yours,

Hanneke


-----Ursprüngliche Nachricht-----
Von: FieldTrip discussion list im Auftrag von Hanneke Van Dijk
Gesendet: Do 10.09.2009 13:21
An: FIELDTRIP at NIC.SURFNET.NL
Betreff: [FIELDTRIP] AW: [FIELDTRIP] freqstastics script
 
Dear Claudia,

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!

Groetjes Hanneke


-----Ursprüngliche Nachricht-----
Von: FieldTrip discussion list im Auftrag von Bonin, Claudia (NIH/NINDS) [F]
Gesendet: Mi 09.09.2009 18:26
An: FIELDTRIP at NIC.SURFNET.NL
Betreff: [FIELDTRIP] freqstastics script
 
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.
thanks!
claudia 


>> cfg.statistic = 'kruskalwallis';
>> cfg.method = 'stats';
>> [s] = freqstatistics(cfg, fr, fr);
averaging over 3 channels
selected 50 time bins
selected 41 frequency bins
Warning: PACK can only be used from the MATLAB command line. 
> In fieldtrip/private/prepare_timefreq_data at 305
  In fieldtrip/private/statistics_wrapper at 167
  In freqstatistics at 44
??? Undefined function or method 'neighbourselection' for input arguments of type
'struct'.

Error in ==> statistics_wrapper at 181
    cfg = neighbourselection(cfg,varargin{1});

Error in ==> freqstatistics at 44
[stat] = statistics_wrapper(cfg, varargin{:});
----------------------------------
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 http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.



----------------------------------
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 http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.



----------------------------------
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 http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.



More information about the fieldtrip mailing list