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

installation_rep.m
cd ..
repertoire=pwd;
cd local
if exist(s,'dir')~=7
    b3=uicontrol(gcf,'style','text','unit','normalized',...
		'position',[0.1 0.5 0.3 0.05],'backgroundcolor','w',...
	           'foregroundcolor','b','string','Ce rpertoire n''existe pas.','fontunits','normalized','fontsize',0.5,'fontweight','bold');
    b3b=uicontrol(gcf,'style','text','unit','normalized',...
		'position',[0.1 0.45 0.3 0.05],'backgroundcolor','w',...
	           'foregroundcolor','b','string','Voulez-vous le crer ?','fontunits','normalized','fontsize',0.5,'fontweight','bold');
    liste={'';'OUI';'NON'};
    p1=uicontrol(gcf,'style','popupmenu','unit','normalized',...
                    'position',[0.5,0.45,0.1,0.05],'backgroundcolor','y',...
                    'foregroundcolor','b','fontunits','normalized','fontsize',0.5,'fontweight','bold','string',liste,...
                     'callback','reponse=get(p1,''value'');');
    b4=uicontrol(gcf,'style','push','unit','normalized',...
		'position',[0.8 0.05 0.15 0.05],...
	    'string','OK','foregroundcolor','b','backgroundcolor','y',...
         'fontunits','normalized','fontsize',0.3,'fontweight','bold',...
          'callback','reponse=get(p1,''value'');installation_install;'); 
else
     b4=uicontrol(gcf,'style','push','unit','normalized',...
		'position',[0.8 0.05 0.15 0.05],...
	    'string','OK','foregroundcolor','b','backgroundcolor','y',...
         'fontunits','normalized','fontsize',0.3,'fontweight','bold',...
          'callback','reponse=4;installation_install;'); 
end;

Contact us