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

nettoyage
function nettoyage


h=get(figure(1),'child');
lh=length(h);
hu=[];
for kh=1:1:lh;
    s=get(h(kh),'type');
    if strcmp(s,'uicontrol');
    hu=[hu;h(kh)];
    end;
end;
lu=length(hu);
ht=[];
for ku=1:1:lu
    s=get(hu(ku),'style');
    if strcmp(s,'text');
    ht=[ht;hu(ku)];
    end;
end;
lt=length(ht);
for kt=1:1:lt
    s=get(ht(kt),'string');
    test=strfind(s,'DEFINIR');
    if ~isempty(test)
        delete(ht(kt));
    end;
    test=strfind(s,'ERREUR');
    if ~isempty(test)
        delete(ht(kt));
    end;
end;

Contact us