REST image Calculate 出错

XIN XP, MatlabR2011b , REST1.8

Read 3D EPI functional images: "D:\Workspace\Z"..
Get the mean value of all the images in D:\Workspace\Z
Index exceeds matrix dimensions.

Error in rest_ImgCal_gui>img_cal (line 474)
                tempname=strcat(dirg{j},'\',DirListg{j}(i).name);

Error in rest_ImgCal_gui>btnCompute_Callback (line 228)
    img_cal(OutDir,OutPut,Function,Gmag,data);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in rest_ImgCal_gui (line 30)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback

出错的数据在附件中,求解,多谢!

AttachmentSize
Package icon Z.zip3.41 MB