求助:Alphasim 报错

 运行Alphasim,点击RUN后 Matlab就报错了:
??? Undefined function or method 'normrnd' for input arguments of type 'double'.

Error in ==> rest_AlphaSim at 61
    fim=normrnd(0,1,nx,ny,nz);

Error in ==> rest_AlphaSim_gui>pushbuttonrun_Callback at 55
rest_AlphaSim(mask,outdir,outname,rmm,fwhm,pthr,iter);

Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> rest_AlphaSim_gui at 27
    gui_mainfcn(gui_State, varargin{:});
 
??? Error while evaluating uicontrol Callback

哪位老师指点一下啊!

你mask用的是什么?

你的matlab没有装统计模块的工具包,你可以在matlab的命令行下输入 which normrnd,如果报错,则验证了这一点。

解决方法:换个matlab安装,并且选择所有附带的工具包。

Error | Forum of resting-state fMRI

Error

The website encountered an unexpected error. Please try again later.