Hey Andy,
Sorry for posting here things unrelated with this post but I do not what happen with my account that wont let me to post new topics.
My problem is that whenever I’m trying to normalize, this error appears:
Undefined function ‘contains’ for input arguments of type ‘char’.
Error in ea_delete (line 18)
elseif contains(object{i}, ‘*’) && ~isempty(dir(object{i}))
Error in ea_autocoord (line 157)
ea_delete([options.root,options.patientname,filesep,options.prefs.gprenii]);
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
I am using Matlab version 2015b, when I change ‘contains’ to ‘strfnd’, the error is:
Operands to the || and && operators must be convertible to logical scalar
values.
Error in ea_delete (line 18)
elseif strfind(object{i}, ‘*’) && ~isempty(dir(object{i}))
Error in ea_autocoord (line 157)
ea_delete([options.root,options.patientname,filesep,options.prefs.gprenii]);
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
…And still it wont let me normalize the images.
Thank you for your help
Josue