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
| function mode_pro()
%%%%%%%%%%%%%%%%%%%%%%%%
global mode_pro ;
global B_Sol;
mode_pro= figure('Color',[0.8 1 1],...
'MenuBar','figure', ...
'Position',[200 200 600 460], ...
'color',[1 0.66 0.68],...
'numbertitle','off',...
'name','***Les modes de propulsions ***', ...
'Resize','off', ...
'visible','on', ...
'Tag','Figure-1-', ...
'ToolBar','none');
uicontrol( ...
'Style','text', ...
'position', [60 350 180 25], ...
'BackgroundColor',[1 0.66 0.68], ...
'FontSize',8, ...
'ForegroundColor',[0 0 1], ...
'string', '***Solid propellant system :');
uicontrol( ...
'Style','text', ...
'position', [60 310 180 25], ...
'BackgroundColor',[1 0.66 0.68], ...
'FontSize',8, ...
'ForegroundColor',[0 0 1], ...
'string', '***Liquid propellant system :');
uicontrol( ...
'Style','text', ...
'position',[60 270 180 25], ...
'BackgroundColor',[1 0.66 0.68], ...
'FontSize',8, ...
'ForegroundColor',[0 0 1], ...
'string', '***Hybrid propellant system :');
Bsol=uicontrol(mode_pro,'style', 'push','position',[260 350 80 25], ...%Bouton solid
'string', 'Ok', 'callback','solid');
%%%%%%%%%%%%%%
Bliq=uicontrol(mode_pro,'style', 'push','position',[260 310 80 25], ...%Bouton liquid
'string', 'Ok', 'callback','liquid');
%%%%%%%%%%%%%%%
Bhyb=uicontrol(mode_pro,'style', 'push','position',[260 270 80 25], ...%Bouton hybrid
'string', 'Ok', 'callback','hybrid');
%%%%%%%%%%%%%%%%%%%%
set(Bsol, 'Visible', 'On')
end |
Partager