simulink: how to send/receive packet data over udp

4 次查看(过去 30 天)
I want to simulate sending and receiving packets over UDP protocol using Matlab Simulink blocks. Using the Real-Time Simulink blocks, I could only send packet data by "UDP Send" block but nothing was received by "UDP Receive" block. I was wondering if anyone could help me with this problem. Can anyone help to do this procedure?

回答(1 个)

Dimitri MANKOV
Dimitri MANKOV 2022-6-3
Hi Hosein,
The UDP blocks from the Simulink Real-Time library are mostly intended to be used in conjunction with a target machine. In case you don't have a target machine, I suggest using the UDP blocks from the Instrument Control Toolbox instead, as they are more generic.
I hope this is helpful!

类别

Help CenterFile Exchange 中查找有关 Development Computer Setup 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by