Dear Ningfei,
Thank you it worked after I changed the settings as you suggested. But now I got stuck in almost the last step. When I am trying to export 2D slices ouput, it says patient Pre-OP does not exists. Irrespective of the template or atlas I select. Am I missing something ?
Exporting 2D slice output…
Error using spm_vol>spm_vol_hdr (line 80)
File “Patient Pre-OP” does not exist.
Error in spm_vol (line 61)
v = spm_vol_hdr(deblank(P(i,:)));
Error in ea_assignbackdrop (line 105)
varargout{1}=spm_vol(bdstring);
Error in ea_writeplanes (line 69)
[Vtra,Vcor,Vsag]=ea_assignbackdrop(options.d2.backdrop,options,’Patient’);
Error in ea_write (line 48)
cuts=ea_writeplanes(options);
Error in ea_autocoord (line 257)
ea_write(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.
Thank you.
Regards,
Nabin