12/09/2019 at 6:00 PM
#8847
tsieger
Participant
Another problem in vecnorm
, which was introduced in R2017b.
https://github.com/netstim/leaddbs/pull/322
Please note that this PR also fixed the problem with incompatible matrix sizes:
Error using -
Matrix dimensions must agree.
Error in ea_genvat_horn>jr_remove_electrode (line 678)
tra = elstruct.trajectory{1,side} - org;
Error in ea_genvat_horn (line 355)
vat = jr_remove_electrode(vat,elstruct,mesh,side,elspec);
Error in ea_stimparams>stimulate_Callback (line 950)
[stimparams(1,side).VAT(el).VAT,volume]=feval(ea_genvat,elstruct(el).coords_mm,getappdata(handles.stimfig,'S'),side,options,stimname,options.prefs.machine.vatsettings.horn_ethresh,handles.stimfig);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in ea_stimparams (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)ea_stimparams('stimulate_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
(I’ve used an explicit repmat
to fix this.)