Difference between the UDP blocks available

조회 수: 3 (최근 30일)
Zachary Ott
Zachary Ott 2020년 2월 4일
답변: Rajani Mishra 2020년 2월 12일
What are the differences, if any, between the different UDP Send blocks available? There is one in the DSP System Toolbox, Embedded Coder toolbox, Instrument Control Toolbox, and a few in Simulink Real-Time. I tried searching the documentation and couldn't find any real difference.
Thanks,

채택된 답변

Rajani Mishra
Rajani Mishra 2020년 2월 12일
UDP send and receive blocks function as sender and receiver blocks following UDP protocol in all the toolboxes.
The difference between them is that blocks are adapted as per the toolbox in which they are included.
UDP blocks in Instrument Control toolbox are meant for interface-based communication (creating an object of the interface type here UDP interface) to connect to the instrument. Whereas UDP block in Embedded Coder Toolbox are meant for code generation. For example, UDP blocks from the Instrument Control Toolbox are not supported for code generation but blocks from Embedded Coder does.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by