Dear DPABI experts,
I am new to dpabi and I used dparsf to run for functional connectivity. I am using Mac OS 10.14.4, MATLAB R2016b, dparsf 4.5 Advanced Edition, SPM12, FSL 3.2.0. I have organized data as the online course recommended, but I got some errors in the preprocessing.
It will be helpful if someone can give me some guidances.
Looking forward to your reply.
Warning: Function newline has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
> In path (line 109)
In addpath (line 88)
In cfg_mlbatch_appcfg (line 27)
In cfg_util>local_initapps (line 1478)
In cfg_util (line 743)
In spm_jobman (line 189)
In spm_jobman (line 108)
In parallel_function>make_general_channel/channel_general (line 927)
In remoteParallelFunction (line 38)
done.
Item matlabbatch: No repeat named
spm
Analyzing and transferring files to the workers ...done.
Error using cfg_repeat/list (line 112)
An UndefinedFunction error was thrown on the workers for 'list'. This might be because the file containing 'list' is not
accessible on the workers. Use addAttachedFiles(pool, files) to specify the required files to be attached. See the
documentation for 'parallel.Pool/addAttachedFiles' for more details.
Error in cfg_util>local_getcjid2subs (line 1365)
cjid2subsin = list(cjin, exspec, tropts);
Error in cfg_util>local_initjob (line 1555)
[ucj, ucjid2subs] = cellfun(@local_getcjid2subs, ucj, 'UniformOutput', false);
Error in cfg_util (line 815)
[jobs(cjob), mod_job_idlist] = local_initjob(jobs(cjob), job, jobdedup);
Error in spm_jobman (line 246)
cjob = cfg_util('initjob', mljob);
Error in DPARSFA_run (line 631)
parfor i=1:AutoDataProcessParameter.SubjectNum
Error in DPARSFA>pushbuttonRun_Callback (line 1795)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DPARSFA (line 30)
gui_mainfcn(gui_State, varargin{:});
Caused by:
Undefined function 'list' for input arguments of type 'cell'.
Error while evaluating UIControl Callback
Try restart matlab and rerun.
Try restart matlab and rerun.
Thank you, Prof. Yan. I have
Thank you, Prof. Yan. I have resarted several times, but it didn't work.
Probably is a problem of SPM
Probably is a problem of SPM version. Try to update to the latest update.
how did you solve this problem
i run into the same problem using dpabisurf, could you tell me how did you solve the problem?
_______________________________________________________
spm
检查对函数 'list' 的调用中是否存在不正确的参数数据类型或缺少参数。
出错 cfg_repeat/list (第 112 行)
[id1, stop1] = list(citems{k}, spec, tropts);
出错 cfg_util>local_getcjid2subs (第 1365 行)
cjid2subsin = list(cjin, exspec, tropts);
出错 cfg_util>local_initjob (第 1555 行)
[ucj, ucjid2subs] = cellfun(@local_getcjid2subs, ucj, 'UniformOutput', false);
出错 cfg_util (第 815 行)
[jobs(cjob), mod_job_idlist] = local_initjob(jobs(cjob), job, jobdedup);
出错 spm_jobman (第 246 行)
cjob = cfg_util('initjob', mljob);
出错 DPABISurf_run (第 1764 行)
spm_jobman('run',SPMJOB.matlabbatch);
出错 DPABISurf_Pipeline>pushbuttonDPABISurfRun_Callback (第 1698 行)
[Error, Cfg]=DPABISurf_run(handles.Cfg);
Try to update your spm
Try to update your spm version.