TCP communication between Matlab code and Simulink

2 Ansichten (letzte 30 Tage)
Fakhreddin Amirhosseini
Fakhreddin Amirhosseini am 1 Feb. 2020
Hi. I have developed a Matlab code which works as a server to communicate with hardware over Bluetooth. I need to connect this server to Simulink over tcp since bluetooth is not supported in simulink. How can I make a TCP server up and running on my matlab code so I can communicate with it on localhost? I tried matlab TCP object but I couldn't open it with fopen since it needed to connect to somewhere.

Antworten (0)

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by