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!