[FieldTrip] Permutation test
Zhen Ni
nzhen340 at gmail.com
Mon Jun 8 22:30:28 CEST 2020
Hello,
My name is Zhen Ni. I'm a senior research fellow working at the National
Institutes of Health.
I'm using FieldTrip (version 20200423) to perform a cluster-based
permutation test. My script is largely based on the example you showed on
the FieldTrip webpage. The script stopped after a while with a technical
problem. I copied the error message below.
I also tried following your instruction and used the dataset you uploaded
on the webpage. The same error message comes out. I wonder if you may take
a look at my codes and help me out.
Many thanks.
Zhen
Invalid MEX-file
'/Users/nz/Documents/MATLAB/external/spm8/spm_bwlabel.mexmaci64':
dlopen(/Users/nz/Documents/MATLAB/external/spm8/spm_bwlabel.mexmaci64, 6):
Library
not loaded: @loader_path/libmex.dylib
Referenced from:
/Users/nz/Documents/MATLAB/external/spm8/spm_bwlabel.mexmaci64
Reason: image not found
Error in findcluster (line 87)
[labelmat(spatdimlev, :, :), num] =
spm_bwlabel(double(reshape(onoff(spatdimlev,
:, :), nfreq, ntime)), 6); % the previous code contained a '4' for input
Error in clusterstat (line 202)
posclusobs = findcluster(reshape(postailobs,
[cfg.dim,1]),channeighbstructmat,cfg.minnbchan);
Error in ft_statistics_montecarlo (line 353)
[stat, cfg] = clusterstat(cfg, statrand, statobs);
Error in ft_timelockstatistics (line 184)
[stat, cfg] = statmethod(cfg, dat, design);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200608/63b3121a/attachment.htm>
More information about the fieldtrip
mailing list