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=on_nettoie_num(MOGi)
function MOG=on_nettoie_num(MOGi)

MOG=MOGi;

h=get(gcf,'child');
k=find(strcmp(get(h,'type'),'uicontrol'));
kdel=find(strcmp(get(h(k),'string'),'Niveau (V)')|strcmp(get(h(k),'string'),...
    'sens (+1 ; -1 )')|strcmp(get(h(k),'string'),'OK Synchro'));
K=[]
for p=1:1:length(kdel)
    K=[K,find(MOG(2,:)==h(kdel(p)))];
end;
delete(MOG(1:2,K))
MOG(1:2,K)=[0 0;0 0];
h=get(gcf,'child');
k=find(strcmp(get(h,'type'),'uicontrol'));
kdel=find(strcmp(get(h(k),'string'),'Niveau (V)')|strcmp(get(h(k),'string'),...
    'sens (+1 ; -1 )')|strcmp(get(h(k),'string'),'OK Synchro'));
delete(h(kdel))

Contact us