load ECG sig to simulink
Afficher commentaires plus anciens
please if i have an ECG.mat on workspace how can i load it to simulink as an input source for a simulation
Réponses (1)
Azzi Abdelmalek
le 23 Avr 2016
Modifié(e) : Azzi Abdelmalek
le 23 Avr 2016
Your file should look like
t=0:0.1:10 % time Vector
y=sin(t) % Your signal
v=[t;y];
save your_mat_file v
Then in your simulink model add a frome file block. and set the name to your_name_file
5 commentaires
mohammad
le 23 Avr 2016
Azzi Abdelmalek
le 23 Avr 2016
Have you read all my answer?
mohammad
le 23 Avr 2016
mohammad
le 23 Avr 2016
Azzi Abdelmalek
le 23 Avr 2016
How did you get v.mat?
Catégories
En savoir plus sur Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
