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

[echelle_t,h_retard]=choix_retard_courbe_sauvee(MOG)
function [echelle_t,h_retard]=choix_retard_courbe_sauvee(MOG)

bdt=[20e-3,50e-3,0.1,0.2,0.5,1,2,5,10,20];
cal_bdt=get(MOG(1,2),'value');
echelle_t=bdt(cal_bdt-1);
figure(3)
e=ecran;
set(gcf,'position',e/2,'unit','normalized')
set(gcf,'color','w')
txt_retard=uicontrol(gcf,'style','text','unit','normalized',...
		            'position',[0.1,0.9,0.2,0.1],'backgroundcolor','w',...
	                'foregroundcolor','b','fontunits','normalized','fontsize',0.5,'fontweight','bold','string','Retard (s)');  
s='0';                
h_retard=uicontrol(gcf,'style','edit','unit','normalized',...
                    'position',[0.1,0.7,0.2,0.1],...
                    'backgroundcolor','y','string',s,'foregroundcolor','b','fontunits','normalized','fontsize',0.5,'fontweight','bold'); 
h_ok=uicontrol(gcf,'style','push','unit','normalized',...
		'position',[0.1 0.5 0.1 0.05],...
	    'string','OK','foregroundcolor','r','fontunits','normalized','fontsize',0.4,'fontweight','bold',...
        'callback','affiche_courbe_sauvee(e_t,h_r)');

Contact us