What is the difference between the "Take/Write DDS Sample" and "DDS Receive/Send" block pairs?
4 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2025 年 10 月 16 日
回答済み: MathWorks Support Team
2025 年 11 月 11 日 14:33
I am trying to read and write data from a Data Distribution Service (DDS) in my Simulink model. I am unsure about when to use "Take DDS Sample" versus "DDS Receive", and similarly "Write DDS Sample" versus "DDS Send". Could you please elaborate on the use cases for each?
採用された回答
MathWorks Support Team
2025 年 10 月 16 日
"DDS Receive" & "DDS Send" are used for when you are communicating with another device that is sending information. An example workflow where you would use these blocks would be an IoT (Internet of Things) setup where you have something like a sensor sending information to your computer or hardware that you are connected to.
"Take DDS Sample" & "Write DDS Sample" are more so used for testing your models when simulating in Simulink. For most use cases, the outputs of "Take DDS Sample" and "Receive DDS" are similar, however they differ based upon what they are communicating with - i.e. your own model or another device, respectively.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with DDS Blockset についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!