error using rmdir IN DPARSF

Submitted by mengqiao on
Here's the error code:
Error using rmdir
No directories were removed.
 
Error in DPARSF_run (line 998)
        rmdir([AutoDataProcessParameter.SubjectID{i},
        '_detrend']);
 
Error in DPARSF>pushbuttonRun_Callback (line 996)
    [Error]=DPARSF_run(handles.Cfg);
 
Error in gui_mainfcn (line 95)
        feval(varargin{:});
 
Error in DPARSF (line 48)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback
 
I changed several computers trying to solve this problem but all went wrong like this. 
what is ok:
Converting functional images---OK
Removing first 10 time points---OK
Slice timing setup---OK
Realign setup---OK
Moving realign parameters---OK
Normalize setup---OK
Moving normalized files---OK
Moving smoothed files---OK
 
THEN, IT WENT WRONG LIKE:
Removing the linear trend: C:
Read 3D EPI functional images: "C:\NOSPACESALLOWED\Analysis\FunImgNormalizedSmoothed\002_S_0413"...........................
 
Detrend working. Wait.............
 
Saving detrended images. Wait...
Detrend over.
Elapsed time is 43.655420 seconds.
Error using rmdir
No directories were removed.
 
Error in DPARSF_run (line 998)
        rmdir([AutoDataProcessParameter.SubjectID{i},
        '_detrend']);
 
Error in DPARSF>pushbuttonRun_Callback (line 996)
    [Error]=DPARSF_run(handles.Cfg);
 
Error in gui_mainfcn (line 95)
        feval(varargin{:});
 
Error in DPARSF (line 48)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback

 

YAN Chao-Gan

Tue, 03/31/2015 - 14:51

Hi,

Which version of DPARSF are you using? Seems it's an old version. You can paste your settings here.

Or you can try the latest DPARSF to see how the processing goes.

Best,

Chao-Gan

mengqiao

Thu, 04/02/2015 - 15:21

In reply to by YAN Chao-Gan

严老师好!

之前那个问题通过删除了那几行报错的代码算是解决了,但是又遇到了新的问题,就是在Analysis文件夹内自动生成的FunImgNormalizedSmoothedDetrendedFilteredCovs文件中,有三个矩阵,分别是ROICorrelation, ROICorrelation_FisherZ以及ROISignals。我定义了90个ROI,可是生成的这三个矩阵,前两个是3*3, 后一个是130*3(本来希望是130*90的)。请问老师这是什么地方设置出问题了?谢谢!