Clear Filters
Clear Filters

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

5 views (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 at 10:38
Edited: Suman on 23 Jul 2024 at 10:39
You can refer to this example: https://github.com/simon-f-j/Simulink_In_Unity
Hope that helps!

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!