Integrate simulink model in Unity 3D

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.

Risposte (1)

Zhang wen
Zhang wen il 28 Feb 2022

0 voti

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

Categorie

Scopri di più su Automotive Applications in Centro assistenza e File Exchange

Prodotti

Release

R2020b

Richiesto:

il 31 Mag 2021

Risposto:

il 28 Feb 2022

Community Treasure Hunt

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

Start Hunting!

Translated by