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

lecture_parametre.m
function [DEF,fe]=lecture_parametre(MOG,DEFi);

DEF=DEFi;
%*****************rcupration des paramtres (matrice DEF)
s_dnum=get(MOG(1,1),'string');
d_num=str2double(s_dnum);
DEF(1)=d_num;
s_dden=get(MOG(1,2),'string');
d_den=str2double(s_dden);
DEF(2)=d_den;
s_classe=get(MOG(1,3),'string');
classe=str2double(s_classe);
DEF(3)=classe;
sfe=get(MOG(1,4),'string');
fe=str2double(sfe);
DEF(4)=round(1e6/fe)*1e-6;
sduree=get(MOG(1,5),'string');
D=str2double(sduree);
DEF(5)=D;
slevel=get(MOG(1,6),'string');
niveau=str2double(slevel);
DEF(6)=niveau;
ssens=get(MOG(1,7),'string');
sens=str2double(ssens);
DEF(7)=sens;
DEF(8)=round(DEF(5)/DEF(4));
DEF(9)=round(1.1*DEF(8));

Contact us