DPABI中DICOM Sorter出错

之前用REST分类DICOM数据出错,提示ProtocolName出错,试着在REST_DicomSorter.m中分别改成SequenceDescription和SequenceName之后运行还是出错。
之后在DPABI->Utilities->DICOM Sorter做相应修改(改成SequenceName)后再运行,出现一下报错:

??? Index exceeds matrix dimensions.

Error in ==> w_DCMSort at 15
    fprintf('Read %s etc.\n', OneDICOM{1});

Error in ==> DPABI_DCMSORTER_TOOL>ComputeButton_Callback at 227
w_DCMSort(DICOMCells, HierarchyValue, AnonyFlag, OutputDir);

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

Error in ==> DPABI_DCMSORTER_TOOL at 42
    gui_mainfcn(gui_State, varargin{:});

Error in ==> @(hObject,eventdata)DPABI_DCMSORTER_TOOL('ComputeButton_Callback',hObject,eventdata,guidata(hObject))

 
??? Error while evaluating uicontrol Callback

>>
请老师指导
谢谢!