%set a buttongroup
h_buttongroup = uibuttongroup('position',[0 .1 .5 .3],'SelectionChangeFcn',@select_method);
h_radio1 = uicontrol('parent',h_buttongroup,'style','radiobutton','unit','normalized','position',[.5 .6 .1 .1]);
h_radio2 = uicontrol('parent',h_buttongroup,'style','radiobutton','unit','normalized','position',[.8 .6 .1 .1])
%default method 1
set(h_buttongroup,'SelectedObject',h_radio1)