simulink: how to send/receive packet data over udp

조회 수: 6 (최근 30일)
Hosein Jahanshahi
Hosein Jahanshahi 2019년 10월 3일
답변: Dimitri MANKOV 2022년 6월 3일
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