Dear Nagase,
the function randperm should be available in MATLAB since version 2006a. Please can you check that the function exists by by typing:
which randperm
in the matlab command line. I suspect that something is wrong with your matlab installation and the best would be to re-install matlab.
Best,
Christian
On Wed, 13 Dec 2017 20:23:40 +0900, nagase <[log in to unmask]> wrote:
> Dear experts,
> I currently use spm8, MATLAB R2009a, and I would like to apply SPM’s TFCE toolbox which was developed by Prof. Christian Gaser to multiple regression analyses.
>But when I tried it, the following error message is returned and the analysis cannot work.
>
>Running job #1
>------------------------------------------------------------------------
>Running 'Estimate TFCE'
>Whitening of the data is not yet supported
>Correlational design found
>
>Calculating
>Failed 'Estimate TFCE'
>Undefined function or method 'randperm' (input argument of type 'double')
>In file "C:\spm8\toolbox\TFCE\cg_tfce_estimate.m" (???), function "cg_tfce_estimate" at line 321.
>
>The following modules did not run:
>Failed: Estimate TFCE
>
>I changed versions and I have tried every so many times , but somehow I do not succeed.
>I wonder if anyone could help with this issue. Thanks a lot.
>
>Sincerely yours,
>Nagase
>
>
>
>
>
>
|