MATLAB: How to communicate using Ethernet port

ethernet

I wanna connect with ethernet port. and then I wanna receive and control the motor. Do I have to use arduino with matlab? or just use matlab? If you has any example for ethernet, can you give me a example? Please help me sir,

Best Answer

Instrument Control Toolbox has tcp() and udp() . You can also get tcpudpip from the File Exchange, which will work without any toolbox.