Oct-19-2017, 09:39 AM
I've managed to code a C program to send various types of data to Matlab on another machine over UDP; char, int and double. I'm really struggling to do the same with Python. I can send a char with no problem but trying to just send an integer is making my head spin. If I send any integer Matlab captures it as 10, regardless of the number. I've tried converting to string, sending as a bytearray and using pack but nothing works. What am I missing?