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

Ti_baisse.m
if isinf(P_PID(2,1))
    P_PID(5,1)=0;
else
    P_PID(2,1)=P_PID(2,1)-P_PID(2,2);
    P_PID(5,1)=DEF(1)/P_PID(2,1);
end;
schema_modele=[get_param(gcs,'name'),'/Correcteur'];
bloc_pid=[schema_modele,'/PID'];
set_param(bloc_pid,'Ki',num2str(P_PID(5,1)))
schema_modele=get_param(gcs,'name');
bloc_Ti=[schema_modele,'/ValeurTi'];
set_param(bloc_Ti,'Ti',num2str(P_PID(2,1)))
set(MOG(1,3),'string',num2str(P_PID(2,1)))

Contact us