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
Azzi Abdelmalek 2016년 4월 23일
편집: Azzi Abdelmalek 2016년 4월 23일

0 개 추천

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
mohammad 2016년 4월 23일
but how can use it by simulink
Azzi Abdelmalek
Azzi Abdelmalek 2016년 4월 23일
Have you read all my answer?
mohammad
mohammad 2016년 4월 23일
an error happened while load the signal
mohammad
mohammad 2016년 4월 23일
Azzi Abdelmalek
Azzi Abdelmalek 2016년 4월 23일
How did you get v.mat?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

태그

질문:

2016년 4월 23일

댓글:

2016년 4월 23일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by