老师:
matlab并行处理的时候总是报这样的错误?请问是什么原因。在做完头动矫正之后。
Moving Head Motion Corrected Files:rest_closed_1122550 OKMoving Head Motion Corrected Files:rest_closed_1082398 OK
Moving Head Motion Corrected Files:rest_closed_1131499 OKMoving Head Motion Corrected Files:rest_closed_1465338 OK
Error using parallel_function (line 589)
Index exceeds matrix dimensions.
Error stack:
DPARSFA_run>(parfor body) at 2288
Error in DPARSFA_run (line 2182)
parfor i=1:AutoDataProcessParameter.SubjectNum
Error in DPARSFA>pushbuttonRun_Callback (line 1601)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSFA (line 33)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
还有我发现dparsf在并行的时候,代码一直在更改工作目录,并行时会不会因为起始目录不一样而报错呢?