TCP communication between Matlab code and Simulink

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.

Respuestas (0)

Productos

Versión

R2017a

Preguntada:

el 1 de Feb. de 2020

Editada:

el 1 de Feb. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by