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.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by