How can I receive and display data using TCP\IP client
9 次查看(过去 30 天)
显示 更早的评论
Hello there, I have a Simunlink model with the TCP\IP client blockset. I would like to modify the client in a way that I can display the data from the server. My project has to be in such as way that once the communication is established both end can send and receive data. Regards
0 个评论
回答(2 个)
Walter Roberson
2016-1-27
There should not be any modification required, other than adding appropriate blocks to the model.
0 个评论
Issopui
2016-1-28
8 个评论
Walter Roberson
2016-4-14
Why are you taking the output port width of the same thing multiple times? If you had varied the 0 to something else I might have understood.
You made myMessage a number which is just the width of some port, but you are trying to access a "fp" field of that width. Perhaps you need another ssGetOutputPortRealSignal or something similar?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Development Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!