请教DPARSFA的问题

老师们,你们好!我在用DPASFA处理数据时,matlab里提示了下面的错误,请问是什么原因?怎么解决?谢谢!
??? Index exceeds matrix dimensions.

Error in ==> DPARSFA_run at 165
InputFilename=[AutoDataProcessParameter.DataProcessDir,filesep,'T1Raw',filesep,AutoDataProcessParameter.SubjectID{i},filesep,DirDCM(3).name];

Error in ==> DPARSFA>pushbuttonRun_Callback at 969
[Error]=DPARSFA_run(handles.Cfg);

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

Error in ==> DPARSFA at 30
gui_mainfcn(gui_State, varargin{:});

??? Error while evaluating uicontrol Callback