2 Region_right{I} = Region_left{I};
\r
3 Choice_right = uicontrol('Parent', New_wind);
\r
4 Call_back_right = ...
\r
5 sprintf('Segment_demo(''Right'', %18.16f, %d)', Choice_right, I);
\r
6 set(Choice_right, 'Style', 'Popup', 'String', Regions_disp, ...
\r
7 'Units', 'Normalized', 'Position', [0.55 0.5 0.45 0.5], ...
\r
8 'Callback', Call_back_right);
\r
10 if Region_right{I} == 0
\r
11 msgbox('Please select 2-nd region', '2-nd region needed');
\r