How to send and receive data using UDP on the same computer?
11 views (last 30 days)
I want to use UDP to send and receive a data from a same computer in real time. I have an s-function block which get data from another software(optitrack) and I want to send this data to another simulink model on the same computer. I am just wondering if this can be possible by just using the 'DSP System Toolbox' sender and receiver udp blocks. I used '127.0.0.1' for the ip address to send the data and used '0.0.0.0' to receive it. Notice: I first packed the data from the s-function block and then connected it to UDP sender and for the receiver side I unpacked the data using Unpack block but still didn't work.