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개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by