Simulink continuosly collecting data from ADS Stream - How to process data simultaneously?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello Mathworks-Community,
I've set up a Simulink model collecting a set of 9 data values 1000 times per second from an ADS Stream (TwinCAT3).
What I am trying to achieve now is, to simultaneously process this data in chunks (for example 10.000 rows of my output vector) to calculate forward kinematics of a robot and upload the calculated values to a MySQL-Database.
The problem I have is that I can't find a way to access the data before the simulation finished (its easy to get the simulation output as soon as the simulation is done).
As the Simulation should run in a while loop until I cancel it, I don't know how to access chunks of the data the model received from ADS Stream for further postprocessing in Matlab.
Hope you can help me with this problem.
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!