Problem in Extracting ROI signals

Hi ,Mr Yan

Something is wrong with my dparsfa version2.3.

My data is resting state and the picture below shows my processing steps:

I define the ROIs by using my own templete.

The error information is:

Running job #1
------------------------------------------------------------------------
Running 'Normalise: Write'
Done    'Normalise: Write'
Done
 
 
Extracting ROI signals...
Read 3D EPI functional images: "G:\RZZ\test2\FunImgR\s40".
 
Extracting ROI signals finished, elapsed time: 15.7561 seconds.
 
Regressing out covariates for subject s40 .
 
Read 3D EPI functional images: "G:\RZZ\test2\FunImgR\s40".
??? Error using ==> horzcat
CAT arguments dimensions are not consistent.
 
Error in ==> y_RegressOutImgCovariates at 89
    theCovariables=[theCovariables,CovariablesDef.CovMat];
 
Error in ==> DPARSFA_run>(parfor body factory) at 2119
            y_RegressOutImgCovariates([AutoDataProcessParameter.DataProcessDir,filesep,FunSessionPrefixSet{iFunSession},AutoDataProcessParameter.StartingDirName,filesep,AutoDataProcessParameter.Subje
            Error in ==> parallel_function at 462
            F(base, limit);
 
Error in ==> DPARSFA_run at 2012
        parfor i=1:AutoDataProcessParameter.SubjectNum
 
Error in ==> DPARSFA>pushbuttonRun_Callback at 1601
    [Error]=DPARSFA_run(handles.Cfg);
 
Error in ==> gui_mainfcn at 96
        feval(varargin{:});
 
Error in ==> DPARSFA at 33
    gui_mainfcn(gui_State, varargin{:});
 
??? Error while evaluating uicontrol Callback
 
What can I do to fix this problem ?Thx a lot

There should be something wrong with your data.

Please check carefully and re-run the analysis.

Best,

Chao-Gan