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,DEF,G]=stop_tt(MOGi,DEFi,Gi)
function [MOG,DEF,G]=stop_tt(MOGi,DEFi,Gi)

MOG=MOGi;
DEF=DEFi;
G=Gi;
s=get_param(gcs,'parent');
if isempty(s)
    modele=get_param(gcs,'name');
else
    modele=s;
end;
set_param(modele,'SimulationCommand','disconnect'); 
for k=1:1:min(DEF(1),4)
        set(MOG(1+k,2),'Enable','on'); 
        if MOG(11,2+k)~=0
            set(MOG(11,2+k),'Enable','on');  
        end;
end
 set(MOG(1,2),'Enable','on');     

    

Contact us