How to send messages from one matlab session to another running on the same computer, preferably using UDP

2 vues (au cours des 30 derniers jours)
I am running two matlab sessions on the same computer Windows 10 64bit I have to send a message from one session to another. Both the sessions are running on the same computer. I am connected via a secure wifi connection of my university (can't use TCP/IP possibly) I have already tried the judp() file provided in the file exchange. It does not work There has to be some way around using localhost localport etc.
Thanks for your help in advance

Réponse acceptée

Walter Roberson
Walter Roberson le 25 Mar 2016
If you have Instrument Control Toolbox then it has udp() built in. Otherwise see the tcpudpip File Exchange Contribution.
  3 commentaires
Kavya Managundi
Kavya Managundi le 5 Oct 2018
Yes, it would be really helpful if you can share the solution. I'm using judp but there problem with that is the socket is never closed hence the next time i run the program it gives me address already in use error

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by