Dear Andy,
This time I executed lead DBS with only checking (Normalize + check Normalization) it worked for coronar and axial (by showing me two matlab figures of coronar and transversal) but not for sagital!! So there is always problem in the corgestration step.
It always shows me these types of errors:
Undefined function or variable ‘coords_mm’.
Error in ea_load_reconstruction (line 47)
markers(side).head=coords_mm{side}(1,:);
Error in ea_writeplanes (line 27)
coords_mm=ea_load_reconstruction(options);
Error in ea_write (line 26)
cuts=ea_writeplanes(options);
Error in ea_autocoord (line 222)
ea_write(options)
Error in lead>run_button_Callback (line 337)
ea_autocoord(options);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in lead (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)lead(‘run_button_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
Index exceeds matrix dimensions.
Error in ea_imshowpair/mouseClick (line 270)
i2=i2(2);
Error while evaluating Figure ButtonDownFcn
Best, sahbi