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=bouton_plot(MOGi,DEF,chaine)
function MOG=bouton_plot(MOGi,DEF,chaine)

MOG=MOGi;
MOG(1,7)=uicontrol(MOG(1,6),'style','text','unit','normalized',...
		            'position',[0.1,0.01,0.8,0.05],'backgroundcolor','w',...
	                'foregroundcolor','w','fontunits','normalized','fontsize',0.5,'fontweight','bold','string','POUR LANCER L''ENREGISTREMENT APPUYER SUR LA BARRE ESPACE');
  h_arme=uicontrol(MOG(1,6),'style','text','unit','normalized',...
		            'position',[0.9,0.01,0.1,0.05],'backgroundcolor','w',...
	                'foregroundcolor','w','fontunits','normalized','fontsize',0.5,'fontweight','bold','string','ARME');
for k=1:1:min(DEF(1),4)
        set(MOG(1+k,2),'Enable','on'); 
        if MOG(11,2+k)~=0
            set(MOG(11,2+k),'enable','on')
        end
end

set(MOG(1,2),'Enable','on');

if strcmp(chaine,'x_y')
    fonction='trace_courbes_xy';
elseif strcmp(chaine,'y_t')
    fonction='trace_courbes';
end;
MOG(10,2)=uicontrol(MOG(1,6),'style','push','unit','normalized',...
            'position',[0.9 0.5 0.1 0.05],...
            'string','PLOT','foregroundcolor','r','fontunits','normalized','fontsize',0.5,'fontweight','bold',...
            'callback',fonction);

Contact us