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.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2017a

질문:

2020년 2월 1일

편집:

2020년 2월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by