运行DPARSF出现Undefined function 'list' for input arguments of type 'struct' 问题

Submitted by wujingxi on
在Matlab2012a中运行Dparsf出现如下问题:

Warning: Run spm_jobman('initcfg'); beforehand 
> In spm_jobman at 107
  In DPARSF_run at 364
  In DPARSF>pushbuttonRun_Callback at 976
  In gui_mainfcn at 96
  In DPARSF at 43 
Undefined function 'list' for input arguments of type 'struct'.
 
Error in cfg_choice/list (line 106)
            [id1 stop1 val1] = list(citems{k}, spec, tropts, fn);
 
Error in cfg_choice/list (line 106)
            [id1 stop1 val1] = list(citems{k}, spec, tropts, fn);
 
Error in cfg_repeat/list (line 106)
            [id1 stop1 val1] = list(citems{k}, spec, tropts, fn);
 
Error in cfg_util (line 728)
            [id stop val] = list(cs, [varargin{2} exspec], tropts, varargin{3});
 
Error in cfg_ui>local_setmenu (line 136)
[id,stop,val]=cfg_util('listcfgall',id,cfg_findspec({{'hidden',false}}),{'name','level'});
 
Error in cfg_ui>MenuViewUpdateView_Callback (line 1298)
    local_setmenu(handles.cfg_ui, [], @local_addtojob, true);
 
Error in cfg_ui>cfg_ui_ResizeFcn (line 1607)
MenuViewUpdateView_Callback(hObject, eventdata, handles);
 
Error in gui_mainfcn (line 96)
        feval(varargin{:});
 
Error in cfg_ui (line 53)
    gui_mainfcn(gui_State, varargin{:});
 
Error using get
Error while evaluating figure ResizeFcn
 
Undefined function 'list' for input arguments of type 'struct'.
 
Error in cfg_choice/list (line 106)
            [id1 stop1 val1] = list(citems{k}, spec, tropts, fn);
 
Error in cfg_choice/list (line 106)
            [id1 stop1 val1] = list(citems{k}, spec, tropts, fn);
 
Error in cfg_repeat/list (line 106)
            [id1 stop1 val1] = list(citems{k}, spec, tropts, fn);
 
Error in cfg_util (line 728)
            [id stop val] = list(cs, [varargin{2} exspec], tropts, varargin{3});
 
Error in cfg_ui>local_setmenu (line 136)
[id,stop,val]=cfg_util('listcfgall',id,cfg_findspec({{'hidden',false}}),{'name','level'});
 
Error in cfg_ui>cfg_ui_OpeningFcn (line 1042)
local_setmenu(handles.cfg_ui, [], @local_addtojob, true);
 
Error in gui_mainfcn (line 221)
    feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
 
Error in cfg_ui (line 51)
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
 
Error in spm_jobman (line 162)
            f = cfg_ui('Visible','off'); % Create invisible batch ui
 
Error in spm_jobman (line 109)
    spm_jobman('initcfg');
 
Error in DPARSF_run (line 364)
        jobs = spm_jobman('spm5tospm8',{jobs});
 
Error in DPARSF>pushbuttonRun_Callback (line 976)
    [Error]=DPARSF_run(handles.Cfg);
 
Error in gui_mainfcn (line 96)
        feval(varargin{:});
 
Error in DPARSF (line 43)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback
 

请各位高手看看怎么回事儿。

我的SPM8按照add with subfolders添加路径;REST1.7和DPARSF2.1放在和SPM8同一级的文件夹,ADD with folders添加路径。 SPM8添加了最新的补丁。

苦寻不得解 谢谢大家啦
 
Forums