udp_py_simulink Example of Send and Receive UDP Layer between Python and Simulink. The key thing to note is the syntax for struct packing and unpacking in Python. Usage $ python udp_send.py $ python udp_receive.py Run .slx model simultaneously.