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

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?

Réponses (1)

Sameer
Sameer le 6 Août 2025
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!

Produits

Version

R2024b

Question posée :

le 31 Juil 2025

Réponse apportée :

le 6 Août 2025

Community Treasure Hunt

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

Start Hunting!

Translated by