simulink: how to send/receive packet data over udp

2 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Dimitri MANKOV
Dimitri MANKOV il 3 Giu 2022
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!

Community Treasure Hunt

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

Start Hunting!

Translated by