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_sbpa.m
function [DEF,fe]=lecture_sbpa(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;
DEF(6)=2;
svaleff=get(MOG(1,6),'string');
DEF(7)=str2num(svaleff);
sn=get(MOG(1,7),'string');
DEF(9)=str2num(sn);
sfh=get(MOG(1,8),'string');
DEF(10)=str2num(sfh);
DEF(5)=(2^DEF(9)-1)/DEF(10);
DEF(8)=round(DEF(5)/DEF(4));

Contact us