Integrate simulink model in Unity 3D

9 次查看(过去 30 天)
Hallo all,
I have Vehicle model in MATLAB/SIMULINK with .mat file. which is perfectly working. but my task is to transfer this model into Unity3D/ C#. Is it possible to transfer the model in Unity3D and recoding in C#. I am little bit confused regarding this problem because I have seen so many videos about Unity3D. If I have to write C# file in Unity then I need vehicle model in Unity3D. Is it any possibility to write a script in C# and connect my vehicle model which I have in SIMULINK.
Thanks in advance.

回答(1 个)

Zhang wen
Zhang wen 2022-2-28
i also meet this problem, my solution is transfer data between unity3d and simulink by udp, so you can send the simulated data to unity instead of integrate simulink model in unity3d, hope this solution can help you

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by