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

table_menu.m
function [MOG,DEF,G]=table_menu(MOGi,DEFi,Gi)

MOG=zeros(12,6);
    DEF=zeros(1,8);
    G=ones(1,4);
    DEF(1)=1;
    DEF(4)=1e-3;
    DEF(2)=1;
    DEF(3)=1001;
h_f=figure('position',ecran,'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','Yi = F(t)  (rfrence = masse)','foregroundcolor','r','fontunits','normalized','fontsize',0.3,'fontweight','bold',...
              'callback','legende_yi_t;[MOG,DEF,G]=yi_de_t(MOG,DEF,G);');
MOG(4,1)=uicontrol(gcf,'style','push','unit','normalized',...
            'position',[0.05 0.55 0.3 0.1],...
	          'string','Yi = F(t)  (tensions diffrentielles)','foregroundcolor','r','fontunits','normalized','fontsize',0.3,'fontweight','bold',...
              'callback','legende_yi_t_diff;[MOG,DEF,G]=yi_de_t_diff(MOG,DEF,G);');
MOG(5,1)=uicontrol(gcf,'style','push','unit','normalized',...
            'position',[0.05 0.4 0.3 0.1],...
	          'string','Y = F(X)  (rfrence = masse)','foregroundcolor','r','fontunits','normalized','fontsize',0.3,'fontweight','bold',...
              'callback','legende_y_x;delete(gcf);DEF(8)=3;DEF(4)=0.0025;[MOG,DEF,G]=ouvre_tt_x_y(MOG,DEF,G);');
MOG(5,1)=uicontrol(gcf,'style','push','unit','normalized',...
            'position',[0.05 0.25 0.3 0.1],...
	          'string','Y = F(X)  tensions diffrentielles)','foregroundcolor','r','fontunits','normalized','fontsize',0.3,'fontweight','bold',...
              'callback','legende_y_x_diff;delete(gcf);DEF(8)=4;DEF(4)=0.0025;[MOG,DEF,G]=ouvre_tt_x_y(MOG,DEF,G);');

Contact us