A sample code in C++ for communication with Simulink Desktop Real-Time™ using UDP. WinSock2 is used in C++.
Possible use can be using a third-party hardware and controlling it using Matlab.
- First, compile the project.
- Second, run "sldrtex_packetio.slx" in Matlab Simulink.