Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘Support forum ARCHIVED – Please use Slack Channel instead’ is closed to new topics and replies.
Hi,
after correctly normalizing MRI volumes ( pre-operative T1-T2 and post-operative T1) I’ve always got the following error while trying to reconstruct electrode trajectories:
“Undefined function or variable ‘cfg_util_persistent’.
Error in cfg_util (line 433)
[c0, jobs] = cfg_util_persistent;
Error in spm_jobman (line 246)
cjob = cfg_util(‘initjob’, mljob);
Error in ea_runtraccore (line 29)
spm_jobman(‘run’,{matlabbatch});
Error in ea_autocoord (line 199)
[coords_mm,trajectory,markers]=ea_runtraccore(options);
Error in ea_run (line 96)
ea_autocoord(options);
Error in lead_dbs>run_button_Callback (line 187)
ea_run(‘run’,options);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in lead_dbs (line 43)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)lead_dbs(‘run_button_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback. ”
May anyone help me? Thanks in advance
Vincenzo
Hi Vincenzo,
I think this is an SPM issue – likely helpful to reinstall the newest version of SPM 12 and make sure that SPM runs smoothly.
Best Andy
Thank you Andy, problem solved! everything runs properly now.
After a few well-done
reconstructions, though, I’ve got a new error during the pre-reconstruction phase ( this time I was using a preoperative T1 MRI and postoperative T1 MRI):
” Error using ea_reconstruct_trajectory (line 222)
Mask out of bounds! Must have lost trajectory…
Please try a different ‘Mask window size’ or try manual mode by setting ‘Entrypoint for Target’
to ‘Manual’.”
Any idea about the cause? and how to fix it?
Thanks again
Hi,
I think this is documented in the manual and the Lead-DBS paper, also there’s a hint in the error message: Try setting entrypoint to manual first. Sometimes you need a few tries to get the lead in. Sometimes setting mask window from auto to a value between ~7 and 25.
Best, Andy
thanks