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

lance_reconstruction(matrice,te,N)
function lance_reconstruction(matrice,te,N)


repertoire=pwd;
cd ..
A=load('parametres_carte.mat');
cd(repertoire)
carte_sortie=A.S.sortie.carte;
plage_sortie=num2str(A.S.sortie.pop);
modele='reconctruction_fft_inv';
open_system([modele,'.mdl'])
bloc=[modele,'/from_workspace'];
set_param(bloc,'variablename','matrice');
bloc3=[modele,'/compil'];
set_param(bloc3,'foregroundcolor','white')
set_param(gcs,'solver','FixedStepDiscrete')
set_param(gcs,'StartTime','0') 
set_param(gcs,'StopTime','Inf') 
set_param(gcs,'SystemTargetFile','rtwin.tlc') 
s=get_param(gcs,'Name');
sbao=[s,'/Analog Output'];
    set_param(sbao,'drvname',carte_sortie);
    set_param(sbao,'voltrange',plage_sortie);
            
set_param(gcs,'SimulationMode','external');
set_param(gcs,'ExtMode','on');
set_param(bloc3,'foregroundcolor','red')
 pause(1)
rtwbuild(gcs);
set_param(bloc3,'foregroundcolor','white')
pause(1)
set_param(gcs,'SimulationCommand','connect');          
pause(1)
set_param(gcs,'SimulationCommand','start') 
        

Contact us