Code error in JoseBarreiros / CellDecomposition

I have this error code and I hope you could help me to solve it

"Attempt to reference field of non-structure array.

Error in Cell_Decomposition_v2>Path_pushbutton_Callback (line 222)
handles = h.UserData;

Error in gui_mainfcn (line 96)

Error in Cell_Decomposition_v2 (line 30)
gui_mainfcn(gui_State, varargin{:});

Error in @(hObject,eventdata)Cell_Decomposition_v2(‘Path_pushbutton_Callback’,hObject,eventdata,guidata(hObject))

Error while evaluating uicontrol Callback"