MATLAB Answers

Difference between the UDP blocks available

3 views (last 30 days)
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,

  0 Comments

Sign in to comment.

Accepted Answer

Rajani Mishra
Rajani Mishra on 12 Feb 2020
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 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.