Jul-04-2019, 11:35 PM
It depends on what the term
I didn't work with MatLab for a long time, but I think json format would be a good choice to transfer data between Python and MatLab (and vice versa). You can communicate with Python program via TCP/IP by sending json-encoded data. Python program will listen on a specific port and process sent data. As I said, I don't touch MatLab for a long time, may be some MatLab Toolbox already developed to interact with Python program in more convenient way.
complex data
means?! I didn't work with MatLab for a long time, but I think json format would be a good choice to transfer data between Python and MatLab (and vice versa). You can communicate with Python program via TCP/IP by sending json-encoded data. Python program will listen on a specific port and process sent data. As I said, I don't touch MatLab for a long time, may be some MatLab Toolbox already developed to interact with Python program in more convenient way.