RobotStudio event

MatLab Code for Communication

Hello,

This is a long stretch... But I am trying to establish messaging communication with MatLab and RobotStudio using TCP/IP Socket protocol. Once communication has been established I would then like to send target data from MatLab to RS. Does anybody happen to have any MatLab code for this, or has someone done anything like this before?

Thanks in advance for any help,
SM