1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
| figure
handles.h(1) = uicontrol(gcf, ...
'style', 'radiobutton', ...
'position',[ 25 300 50 30 ],...
'BackgroundColor','white',...
'string','Tous',...
'Value',1,...
'tag','checkPatTous',...
'HorizontalAlignment','left');
handles.h(2) = uicontrol(gcf, ...
'style', 'radiobutton', ...
'position',[ 25 270 50 30 ],...
'BackgroundColor','white',...
'string','Indiv',...
'Value',0,...
'tag','checkPatIndiv',...
'HorizontalAlignment','left');
handles.h(3) = uicontrol(gcf, ...
'style', 'checkbox', ...
'position',[ 25 230 30 20 ],...
'BackgroundColor','white',...
'string','H',...
'Value',1,...
'enable','off', ...
'tag','checkH',...
'HorizontalAlignment','left');
handles.h(4) = uicontrol(gcf, ...
'style', 'checkbox', ...
'position',[ 25 160 30 20 ],...
'BackgroundColor','white',...
'string','I',...
'Value',1,...
'enable','off', ...
'tag','checkI',...
'HorizontalAlignment','left');
handles.h(5) = uicontrol(gcf, ...
'style', 'checkbox', ...
'position',[ 25 90 30 20 ],...
'BackgroundColor','white',...
'string','J',...
'Value',1,...
'enable','off', ...
'tag','checkJ',...
'HorizontalAlignment','left');
set(handles.h,...
'Callback', {@check_callback, handles.h}, ...
'Units', 'normalized') |