The TCP/IP function of Simulink

I've create a tcp/ip connection between the '.m' file and Simulink. When I use 'sine wave' to send data though 'TCP/IP Client Send', it can get though successfully. However, when I use 'clock' to send data though 'TCP/IP Client Send', the it is wrong.

댓글 수: 1

Walter Roberson
Walter Roberson 2024년 7월 23일
Is it possible that the previous TCP socket still exists ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Pramil
Pramil 2024년 7월 25일
편집: Pramil 2024년 7월 25일

0 개 추천

Hi Jiaji,
If you can send “sine wave” then “clock” should also work assuming that your TCP/IP echo server is still running. You can refer the following documentation for the before mentioned.
Also, here is a link to another documentation that states step by step process for setting up a TCP/IP connection.
Hope it helps.

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

릴리스

R2022b

태그

질문:

2024년 7월 23일

편집:

2024년 7월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by