The final results should be when choosing one from A, the B then appear . One choice from B if first one then go to C, second go to D and C not proposed. From D when choosing one of 2 first choice you have the X list, which can be optional. Z is compulsory, when choosing one of them there is a percentage chosen in the background and hold with the information previously choose.
Coding for the buttongroup -
before the line: guidata(hObject, handles);
function claim_buttongroup_SelectionChangeFcn(hObject, eventdata)
handles = guidata(hObject);