I am using xpc target explorer to run an experiment from matlab, but now I would like to use python to automate the experiment. To do this I need to know how to do two things: 1) Communicate with xpc target to load the Simulink model, and start and stop the simulation. Can this be done using a TCP socket or a Telnet connection? 2) I want to connect to ftp server on the xpc target machine to upload and download some files before each run. The ftp connection works through Matlab but I have been unable to connect to the ftp using a regular client or python's ftp library. Is there a special port I need to use? Any username or password?
Any help or pointers to other sources of information would be appreciated.