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

1 view (last 30 days)
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.

Answers (1)

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

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!