Simulink continuosly collecting data from ADS Stream - How to process data simultaneously?

2 ビュー (過去 30 日間)
Timo Schmid
Timo Schmid 2020 年 3 月 31 日
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 Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by