bwlabelnmex !?

Matt Tata matthew.tata at ULETH.CA
Thu Jul 17 20:34:43 CEST 2008


I'm trying to use freqstatistics() on some TFC data imported from BESA.  I'm
getting this series of errors and I can't figure them out.  I have the
source file bwlabelnmex.cpp in my matlab\toolbox\images\images\private
folder, but nothing else.  I do have the signal processing and image
processing toolboxes installed (perhaps not correctly?). Any suggestions?

Thank you.

Matt Tata

??? Undefined function or method 'bwlabelnmex' for input arguments of type

Error in ==> bwlabeln at 56
[L,num] = bwlabelnmex(A,conn);

Error in ==> fieldtrip-20080521\private\clusterstat at 178
    posclusobs = bwlabeln(tmp, conndef(length(cfg.dim),'min'));

Error in ==> fieldtrip-20080521\private\statistics_montecarlo at 392
  [stat, cfg] = clusterstat(cfg, statrand, statobs);

Error in ==> fieldtrip-20080521\private\statistics_wrapper at 272
  [stat, cfg] = statmethod(cfg, dat,;

Error in ==> freqstatistics at 132
[stat] = statistics_wrapper(cfg, varargin{:});

Error in ==> TF_Stats at 101
stat = freqstatistics(cfg, blgw{:}, blgl{:});

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 and

More information about the fieldtrip mailing list