TCP communication between Matlab code and Simulink

2 views (last 30 days)
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.

Answers (0)

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!