Use Simulink® support for EV3 to communicate with the robot and use Simscape Multibody™ for the 3D simulation environment. This project shows how Simulink helps -
To reproduce demos from this video, download the files from MATLAB File Exchange
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.