load ECG sig to simulink
이전 댓글 표시
please if i have an ECG.mat on workspace how can i load it to simulink as an input source for a simulation
답변 (1개)
Azzi Abdelmalek
2016년 4월 23일
편집: Azzi Abdelmalek
2016년 4월 23일
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
mohammad
2016년 4월 23일
Azzi Abdelmalek
2016년 4월 23일
Have you read all my answer?
mohammad
2016년 4월 23일
mohammad
2016년 4월 23일
Azzi Abdelmalek
2016년 4월 23일
How did you get v.mat?
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
