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?

Answers (1)

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!

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2024b

Asked:

on 31 Jul 2025

Answered:

on 6 Aug 2025

Community Treasure Hunt

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

Start Hunting!