请教严老师。试了很多次还是报错,请严老师指教,谢谢

Warning: In the directory "D:\spmrestetc\spm5\spm5", spm_bsplins.mexw32 now shadows spm_bsplins.dll.
Please see the MATLAB 7.1 Release Notes.
> In DPARSF_run at 629
In DPARSF>pushbuttonRun_Callback at 939
In gui_mainfcn at 96
In DPARSF at 41
??? Error using ==> class
Cannot change the number of fields of class 'file_array' without first typing 'clear classes'.

Error in ==> file_array.file_array at 39
a = class(a,'file_array');

Error in ==> nifti.nifti at 70
dat = file_array(vol.iname,dim,[dt,vol.be],offs,slope,inter);

Error in ==> spm_vol_nifti at 16
N = nifti(fname);

Error in ==> spm_vol>subfunc at 139
V = spm_vol_nifti(p);

Error in ==> spm_vol>subfunc1 at 87
v = subfunc(P(i,:));

Error in ==> spm_vol>subfunc2 at 73
V = subfunc1(P);

Error in ==> spm_vol at 57
V = subfunc2(P);

Error in ==> y_Reslice at 44
VI = spm_vol(PI);

Error in ==> DPARSF_run at 629
y_Reslice(Filename,DPARSF_Normalized_TempImage,[1 1 1],0)

Error in ==> DPARSF>pushbuttonRun_Callback at 939
[Error]=DPARSF_run(handles.Cfg);

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

Error in ==> DPARSF at 41
gui_mainfcn(gui_State, varargin{:});

??? Error while evaluating uicontrol Callback

Warning: In the directory "D:\spmrestetc\spm5\spm5", spm_slice_vol.mexw32 now shadows
spm_slice_vol.dll.
Please see the MATLAB 7.1 Release Notes.
> In spm_orthviews>redraw at 922
In spm_orthviews>redraw_all at 850
In spm_orthviews at 257

建议升级下matlab,用7.3以上的版本。

谢谢老师指点,不过我的MATLAB 是R2010b,应该是7.11吧。还有没有别的问题可能??谢谢

Hi!
你现在使用的是SPM5吧?
如果不是使用SPM8,在启动MATLAB之后,先运行一个命令:REST_Fix_Read_Write_Error
以后就可以正常使用了。
将来你要再用SPM8的时候,再运行一遍这个命令。