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=nombre_point(MOGi,k)
function MOG=nombre_point(MOGi,k)


MOG=MOGi;
v=get(MOG(12,2+k),'value');
p_p=get(MOG(12,2+k),'position');
p_p(2)=0.12;
%p_p=[0.25*(k-1)+0.125,0.12,0.05,0.04]; 
if v==3
        MOG(11,2)=uicontrol(MOG(1,6),'style','text','unit','normalized','position',[0.01,0.12,0.1,0.04],...
           'backgroundcolor','w','string','Nb Points ?','foregroundcolor','b','fontunits','normalized','fontsize',0.5,'fontweight','bold');
        if MOG(11,2+k)~=0
            s=get(MOG(11,2+k),'string');
        else
            s='1';
        end;
        MOG(11,2+k)=uicontrol(MOG(1,6),'style','edit','unit','normalized','position',p_p,'userdata',k,...
                    'backgroundcolor','y','string',s,'foregroundcolor','b','fontunits','normalized','fontsize',0.5,'fontweight','bold'); 
else
    if MOG(11,2+k)~=0
        delete(MOG(11,2+k))
        MOG(12,1+k)=0;
    end;
end;


Contact us