help 3: Rest Dicom Sorter

坛主,
这批数据比较早,2005年GE机器,TR 1s, 16sl, 200TR.
使用Sorter时候报错:

??? Error using ==> mkdir
系统找不到指定的文件。

 

Error in ==> rest_DicomSorter at 38
        mkdir(dirname);

 

Error in ==> rest_DicomSorter_gui>btnRun_Callback at 166
    dirlist=[rest_DicomSorter(handles.Cfg.DataDirs{i},outfile,dicomtype,handles.Cfg.DirectoryHierarchy);dirlist];
   
Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> rest_DicomSorter_gui at 26
    gui_mainfcn(gui_State, varargin{:});
 
??? Error using ==> waitfor
Error while evaluating uicontrol Callback

pop-up window提示:
The DICOM file extension has been changed, plesase re-select the Data Dir.

怎么解决, 谢谢!

marvel

先指定扩展名,再添加数据路径。