detrend

Submitted by qiyinbao on
严老师:在做Darpsf是做到detrend时报错如下: Read 3D EPI functional images: "E:\epilepsy\Analysis\FunImgNormalizedSmoothed\sub_15"................................... ??? Error using ==> copyfile 另一个程序正在使用此文件,进程无法访问。 Error in ==> rest_Fix_Read_Write_Error at 33 copyfile([SPMPath,filesep,'@file_array',filesep,'private',filesep,Files(i).name],[RESTPath,filesep,'rest_spm5_files',filesep,'rest_',Files(i).name],'f') Error in ==> rest_WriteNiftiImage at 91 rest_Fix_Read_Write_Error; %YAN Chao-Gan, 100426. Error in ==> rest_writefile at 80 rest_WriteNiftiImage(data,Header,filename); Error in ==> rest_detrend at 79 rest_writefile(single(AllVolume(:, :, :, x)), ... Error in ==> DPARSF_run at 708 rest_detrend([AutoDataProcessParameter.DataProcessDir,filesep,FunImgDir,filesep,AutoDataProcessParameter.SubjectID{i}], '_detrend'); 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 请问如何解决?

YAN Chao-Gan

Sun, 10/09/2011 - 14:18

你好! 这个问题的原因应该是你的SPM5 和 SPM8之间进行了切换。 如果你进行了SPM不同版本的切换,请在启动MATLAB之后运行一下: rest_Fix_Read_Write_Error 然后你就可以正常使用了。 祝一切顺利!
Forums