simulink: how to send/receive packet data over udp
6 views (last 30 days)
Show older comments
Hosein Jahanshahi on 3 Oct 2019
Answered: Dimitri MANKOV on 3 Jun 2022
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?
Dimitri MANKOV on 3 Jun 2022
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!
Find more on Development Computer Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!