Sending over TCP/IP from simulink to a localhost.
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am trying to send data from my simulink model to a server running on the same computer. The server is running on the localhost port 8080. My problem is that when I try to configure the TCP client block the client and remote server IP address are the same. As my server and Simulink are running on the same computer. All the examples I have come across are about sending data to a target/remote PC. Can anyone help me with achieve my goal.
0 commentaires
Réponses (1)
Koundinya
le 11 Déc 2018
To send data from the simulink model to a server running on the same machine, you could just specify the remote address as 'localhost' and the remote port as 8080 for the Simulink TCP/IP Send block parameters.
Voir également
Catégories
En savoir plus sur Development Computer Setup dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!