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

1 Ansicht (letzte 30 Tage)
祐典 田島
祐典 田島 am 2 Okt. 2023
Bearbeitet: Suman am 23 Jul. 2024
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.

Antworten (1)

Suman
Suman am 23 Jul. 2024
Bearbeitet: Suman am 23 Jul. 2024
You can refer to this example: https://github.com/simon-f-j/Simulink_In_Unity
Hope that helps!

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by