Using "from file block" not working
이전 댓글 표시
Hi,
I'm trying to plot (using Scope) in Simulink the values of a potentiometer and the time this data was recorded from a .mat file from Matlab. My intention is to do something more complex but I have to understand how the block works. It looks easy but I cannot get Simulink running more than 10 seconds and the timestamps are 152 seconds.
I explain the steps I did and maybe you can guess where is my error:
Well, first of all here it is my easy block and scope, easy:

The block parameters are the following ones:

The .mat file is as follows:



The thing is that when I do the simulation it only makes this:
As you can see it only runs until 10 seconds and I want Simulink to plot every point of data of the second row with the matching point of time of the first row but I can't find the way.

Thank you in advance
답변 (2개)
Fangjun Jiang
2019년 8월 30일
0 개 추천
Change your simulation "Stop Time" from 10 (default) to whaever you want.
카테고리
도움말 센터 및 File Exchange에서 Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


