simulation of a continuous data input (in Simulink)
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
i wrote an algorithmn in matlab to analyse data from excel. There just the time and the velocity which is a measurement from a sensor.
Now i want to apply the algorithmn on just 50 data points from the big data sheet. After that (maybe after 1 sec) the next 50 data points should be analysed with the algorithm and so on. The result should be somewhere saved and will be always added with the new result.
I think i can use the algorithmn in simulink with a matlab function block.
Unfortunately i do not know how i can simulate an continuous data input.
Thank you for help!
댓글 수: 0
채택된 답변
Naman Bhaia
2019년 2월 8일
What I understood from is that you would like to gradually read-in data to an algorithm.
One way to read data into Simulink is with a From Spreadsheet block. Below is a link with more information about this block:
Once the data has been read into Simulink, it is possible to use a Buffer block in order to store it. Below is a link with more information about this block:
The Buffer block will store data up to a fixed limit. Once that limit is reached, that data will all be released simultaneously.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!