how can i send datas(rea-time ,get from udp communication) from the workspace to simulink while the simulation is on?
2 ビュー (過去 30 日間)
古いコメントを表示
hi ,everybody there
I want to send sensors datas in the matlab workspace derieved from udp communication to simulink model ,to achive real-time simulation .How can i do it?
My final puppose is to let the robot model in simulink to move real-time according to the data read from udp .
If i store the datas in buffer for 1s (for example),then terminate the simulation and updata datas to the simulink ,what i need to do and by how ?This is essentially off-line simulation .
Many thanks..
0 件のコメント
採用された回答
tq yu
2019 年 6 月 13 日
1 件のコメント
Wilian Guaman
2022 年 9 月 13 日
Hello, how did you solve the problem?
I am trying to run a simulation in simulink and take data that is updated in a scrypt while running the simulation but I have not succeeded, I would be very helpful your experience solving the problem.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simscape Multibody についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!