REST1.8报错

在用REST做correlation Analysis时报错如下:
 Correlation Calculating...
.......??? Attempted to access r(1,2); index out of bounds because numel(r)=1.

Error in ==> rest_corr_Image at 84
                    rCorr(i,j,k)=r(1,2);

Error in ==> rest_corr_gui>btnCompute_Callback at 158
rest_corr_Image(DependentDirs,SeedSeries,OutputName,...

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

Error in ==> rest_corr_gui at 28
    gui_mainfcn(gui_State, varargin{:});
 
??? Error while evaluating uicontrol Callback
请问出错在哪里呢?

谢谢,问题已解决,是我设置错误了,将相关分析用的text文件放到协变量的框中了。