help > Undefined function or variable 'bwlabeln'.
Nov 12, 2015  12:11 AM | John Morris
Undefined function or variable 'bwlabeln'.
Hello,

I have been unable to complete the processing to get the WMH probability map and EV quantification. The other outputs are able to finish, and look great, however! The error I get is as follows. 

At the below steps:
Constructing the WM, GM and CSF templates
Constructing PV Estimates and Ventricle template

I get the following error:
Undefined function or variable 'bwlabeln'.

Error in WhyD_preproc (line 130)
[L_vent,num_vent] = bwlabeln(vent_cut); [hist_L_vent,xout]
= hist(L_vent(:),unique(L_vent));

Error in WhyD_setup (line 118)
if check_preproc_vals(n) == 0 names =
names_stack{n,1}; names_stack{n,1} =
WhyD_preproc(names, spmtoolbox_path); end

Error in WhyD_GUI>run_button_Callback (line 281)
WhyD_setup(arg0,arg1,arg2,arg3,arg4,arg5,arg7,arg8,arg9,2);

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in WhyD_GUI (line 28)
gui_mainfcn(gui_State, varargin{:});

Error in
guidemfile/@(hObject,eventdata)WhyD_GUI('run_button_Callback',hObject,eventdata,guidata(hObject))

Do you have any possible suggestions as to what might be going wrong?

Thanks so much.

Threaded View

TitleAuthorDate
Undefined function or variable 'bwlabeln'.
John Morris Nov 12, 2015
Vamsi Ithapu Nov 12, 2015
John Morris Nov 13, 2015