Submitted by flysnail on Sun, 09/05/2010 - 17:08
运行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
哪位老师指点一下啊!
Submitted by dongzy08 on Sun, 09/05/2010 - 17:47 Permalink
Re
你mask用的是什么?
Submitted by flysnail on Sun, 09/05/2010 - 23:09 Permalink
谢谢。我用的是rest自带的
谢谢。我用的是rest自带的 BrainMask_05_79x95x69.img ,应该可以的吧
Submitted by dongzy08 on Mon, 09/06/2010 - 00:53 Permalink
Re
你的matlab没有装统计模块的工具包,你可以在matlab的命令行下输入 which normrnd,如果报错,则验证了这一点。
解决方法:换个matlab安装,并且选择所有附带的工具包。
Submitted by flysnail on Mon, 09/06/2010 - 13:29 Permalink
非常感谢!回去就试试看
非常感谢!回去就试试看