The TCP/IP function of Simulink

조회 수: 4 (최근 30일)
Jiaji Ma
Jiaji Ma 2024년 7월 23일
편집: Pramil 2024년 7월 25일
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일
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.

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by