各位老师好:
我在用DPARSF进行数据处理过程中,在做完Normalize之后报错,报错内容如下:
Running "Normalise: Write"
--------------------------
Running "Normalise: Write"
Moving Normalized Files:Sub_001 OKMoving Normalized Files:Sub_002 OKMoving Normalized Files:Sub_003 OKMoving Normalized Files:Sub_004 OKMoving Normalized Files:Sub_006 OKMoving Normalized Files:Sub_008 OKMoving Normalized Files:Sub_009 OKMoving Normalized Files:Sub_010 OK
Warning: In the directory "F:\Softs\spm5", spm_bsplinc.mexw32 now shadows
spm_bsplinc.dll.
Please see the MATLAB 7.1 Release Notes.
> In DPARSF_run at 608
In DPARSF>pushbuttonRun_Callback at 935
In gui_mainfcn at 96
In DPARSF at 39
Warning: In the directory "F:\Softs\spm5", spm_bsplins.mexw32 now shadows
spm_bsplins.dll.
Please see the MATLAB 7.1 Release Notes.
> In DPARSF_run at 608
In DPARSF>pushbuttonRun_Callback at 935
In gui_mainfcn at 96
In DPARSF at 39
??? 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 608
y_Reslice(Filename,DPARSF_Normalized_TempImage,[1 1 1],0)
Error in ==> DPARSF>pushbuttonRun_Callback at 935
[Error]=DPARSF_run(handles.Cfg);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> DPARSF at 39
gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
它是先出现下图之后才发出的报错。看到报错之后我在工作路径下发现PicturesForChkNormalization文件夹
是空的。
我使用的是MATLAB 7.9.0; DPARSF版本是V1.0_100510; SPM5; REST版本是V1.4_100426
其中DPARSF与REST均是此次在深圳学习班中完成更新的版本。
我想请教的问题是:1.这是什么原因,有没有什么办法可以避免。2.当PicturesForChkNormalization文件夹为空时,我可以通过什么其他办法查看图像是否配准准确。
非常期盼老师们的回答!
Submitted by demonpupil on Wed, 09/01/2010 - 23:36 Permalink
第二个问题解决了
可以用MRIcroN打开图像看。
Submitted by wen_qing_xia@126.com on Sat, 11/24/2012 - 20:00 Permalink
Re: 第二个问题解决了
前辈,我遇到了跟您一样的问题,不知道您当时是怎么解决的?我用的已经是SPM8了
Submitted by dongzy08 on Mon, 09/06/2010 - 01:14 Permalink
Re
如果是spm5的话,打一下spm5的最新补丁,建议用spm8
Submitted by YAN Chao-Gan on Thu, 09/09/2010 - 01:45 Permalink
Re
如果你从SPM5切换到SPM8,或从SPM8切换到SPM5,都启动一下REST再重启MATLAB。或者运行一下这条命令:rest_Fix_Read_Write_Error
Submitted by wen_qing_xia@126.com on Sat, 11/24/2012 - 20:06 Permalink
Re: Re
严老师您好!我在处理过程中出现跟上面一样的错误,而且我已经用的是SPM8了,MATLAB(R2009a)。望能得到您的指点!
Submitted by YAN Chao-Gan on Tue, 11/27/2012 - 05:17 Permalink
Re: Re
重启MATLAB,然后先运行一下这条命令:rest_Fix_Read_Write_Error