Connect Matlab to Unity 3D

조회 수: 11 (최근 30일)
Mariam LAFKIHI
Mariam LAFKIHI 2018년 9월 10일
답변: Harsh 2024년 10월 26일
I need to connect Matlab to Unity3D to exchange data between Matlab and Unity3D. I need to know if it's possible and which Matlab license do I need ?
Thank you,

답변 (1개)

Harsh
Harsh 2024년 10월 26일
Hi Mariam,
You can use TCP/IP sockets to send data between MATLAB and Unity3D.  In MATLAB, you can use functions like tcpclient and tcpserver to establish TCP/IP communication, enabling the transmission of numerical data or simulation outputs. In Unity3D you can utilize the System.Net.Sockets namespace to manage TCP connections.You can use the following file from file exchange which provides this functionality - https://www.mathworks.com/matlabcentral/fileexchange/75728-tcp-ip-connection-between-matlab-and-unity3d?s_tid=answers_rc2-2_p5_MLT

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by