Code covered by the BSD License  

Highlights from
Logiciels temps réel

Logiciels temps réel

by

 

Real-time software concerning the domains of the signal processing, feedback and regulation

[MOG,DEF,G]=modele_menu(MOGi,DEFi,Gi)
function [MOG,DEF,G]=modele_menu(MOGi,DEFi,Gi)

MOG=MOGi;
DEF=DEFi;
G=Gi;
MOG=zeros(12,7);
DEF=zeros(1,8);
figure(1)
set(gcf,'position',ecran)
%h_f=figure('position',ecran,'color','w','name','MENU','unit','normalized');
set(gcf,'color','w','name','MENU','unit','normalized');
txt_titre=uicontrol(gcf,'style','text','unit','normalized',...
		            'position',[0.2 0.9 0.6 0.1],'backgroundcolor','w',...
	                'foregroundcolor','r','fontunits','normalized','fontsize',0.8,'fontweight','bold','string','MENU');
MOG(1,1)=uicontrol(gcf,'style','push','unit','normalized',...
            'position',[0.05 0.7 0.3 0.1],...
	          'string','Simulation ANALOGIQUE','foregroundcolor','r','fontunits','normalized','fontsize',0.2,'fontweight','bold',...
              'callback','legende_anal;[MOG,DEF,G]=modele_anal(MOG,DEF,G);');
MOG(4,1)=uicontrol(gcf,'style','push','unit','normalized',...
            'position',[0.05 0.55 0.3 0.1],...
	          'string','Simulation SIMULINK','foregroundcolor','r','fontunits','normalized','fontsize',0.2,'fontweight','bold',...
             'callback','legende_simulink;[MOG,DEF,G]=modele_simulink(MOG,DEF,G);');
MOG(5,1)=uicontrol(gcf,'style','push','unit','normalized',...
            'position',[0.05 0.4 0.3 0.1],...
	          'string','Les 2 : Simulations ANALOGIQUE et SIMULINK','foregroundcolor','r','fontunits','normalized','fontsize',0.2,'fontweight','bold',...
              'callback','legende_les_2;[MOG,DEF,G]=modele_les_2(MOG,DEF,G);');

Contact us