How do I configure udp multicast for embedded coder in simulink?

12 次查看(过去 30 天)
I am trying to switch from using broadcast to multicast with a xilinx device and embedded coder in simulink.
I have tried using the real time tool box multicast block but it doesnt seem to be embedded coder compatible in the same way as the xilinx block is.
Is there a correct way to configure an existing simulink block to do this or should I be writing an S-function and pulling c in?

回答(1 个)

Sameer
Sameer 2025-8-6,4:59
Yes, you should write a custom C S-Function for UDP multicast. That is currently the correct way to support multicast with Embedded Coder on embedded targets like Xilinx.
Hope this helps!

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by