Simulink Realtime Windows Target and UDP

1 view (last 30 days)
Colin
Colin on 6 Jun 2014
Hi, I was hoping to get some help with a problem I've been trying to hack away at for a little while to little avail. I have a piece of hardware which is running some firmware on a linux machine. The device has been assigned an IP address and port to receive incoming data via the UDP that I can see in it's source code. Normally the device communicates with the user via some API that was written using the Winsock API however I can't use this in conjunction with the windows realtime target.Does anyone have any suggestions?
I've tried to send data from matlab using the Realtime Windows Target UDP blocks to this device and have it mirror the packet structure that is built in the API but have had no success. I'm a mechanical engineer so this TCP/IP protocol stuff is a bit out of my domain. I'm sure this isn't that difficult to an experienced network specialist but I have no idea what is going on inside the 'black box' UDP blocks.
If anyone has any ideas or suggestions help is welcome.
Thanks,
Colin

Answers (0)

Community Treasure Hunt

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

Start Hunting!