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

modele.m
clear all
figure(1)
e=ecran;    % ecran est une fonction "maison" : ecran=get(0,'screensize');
%if e(1)<0
%   e(1)=0;
%end;
MOG=zeros(12,7);
DEF=zeros(1,8);
G=ones(1,4);
DEF(1)=1;
DEF(4)=1e-3;
DEF(2)=1;
DEF(3)=1001;
set(gcf,'position',e)
set(gcf,'color','y')
set(gcf,'unit','normalized')
grid off
s1='MODELE';
pause (0.1)
set(gca,'color','y','xcolor','y','ycolor','y')
text(0.5,0.8,s1,'color','b','fontunits','normalized','fontsize',0.0875,'fontweight','bold','horizontalalignment','center')
hold on
text(0.05,0.1,'IUT de Montluon - Dpartement GEII','color','r','fontunits','normalized','fontsize',0.03,'fontweight','bold','horizontalalignment','left')
text(0.95,0.1,'F. Gary - P. Le Bars','color','r','fontunits','normalized','fontsize',0.03,'fontweight','bold','horizontalalignment','right')
h=uicontrol(gcf,'style','text','unit','normalized',...
		            'position',[0.05 0.3 0.5 0.05],'backgroundcolor','y',...
	                'foregroundcolor','r','fontunits','normalized','fontsize',0.5,'fontweight','bold','string','Entrez votre NOM :');
s='';                
 h_nom=uicontrol(gcf,'style','edit','unit','normalized',...
                    'position',[0.55,0.3,0.45,0.05],...
                    'backgroundcolor','y','string',s,'foregroundcolor','b','fontunits','normalized','fontsize',0.5,'fontweight','bold');   
h_ok=uicontrol(gcf,'style','push','unit','normalized',...
		'position',[0.9 0.1 0.1 0.05],...
	    'string','>>','foregroundcolor','r','fontunits','normalized','fontsize',0.5,'fontweight','bold',...
        'callback','nom=get(h_nom,''string'');delete(gcf);[MOG,DEF,G]=modele_menu(MOG,DEF,G);');                
%text(0.5,0.3,'(Pour continuer, appuyer sur une touche)','color','b','fontunits','normalized','fontsize',18,'fontweight','bold','horizontalalignment','center')
%pause
%delete(gcf)
nom=s;
%[MOG,DEF,G]=table_menu(MOG,DEF,G,x,y);
h1=axes('position',[0.05,0.7,0.15,0.2]);
M=imread([matlabroot,'\logo_iut_jn.jpg']);
image(M)
set(gca,'xtick',[],'ytick',[])
set(gca,'color','y','xcolor','y','ycolor','y')
h2=axes('position',[0.8,0.7,0.15,0.2]);
M=imread([matlabroot,'\logo_ubp_jn.jpg']);
image(M)
set(gca,'xtick',[],'ytick',[])
set(gca,'color','y','xcolor','y','ycolor','y')

Contact us