what is pnet in matlab?
pnet(con,'close'); This toolbox can be used to set up TCP/IP connections or. send/receive UDP/IP packets in MATLAB. It can transmit data over the Intranet/Internet between MATLAB processes or other applications.