I don't know how to receive variables calculated in Simulink in Unity.

조회 수: 3 (최근 30일)
祐典 田島
祐典 田島 2023년 10월 2일
편집: Suman 2024년 7월 23일
I do not know how to use the UDPSend block for UDP communication. Also, I know how to set up the script in Unity for the address and port, but I don't know how to handle the receiving process, so I would like to have an example code. Also, I am trying to display Simulink calculation results in Unity's Log.
Thank you in advance for your help.

답변 (1개)

Suman
Suman 2024년 7월 23일
편집: Suman 2024년 7월 23일
You can refer to this example: https://github.com/simon-f-j/Simulink_In_Unity
Hope that helps!

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by