Unreal Engine Scenario Applications
The Simulink® 3D Animation™ toolbox provides functionality to build, visualize, and interact with virtual reality scenes and perform agent-based modeling by using the Unreal Engine® viewer.
Access advanced features available in the Unreal Engine, such as collision detection, and the PhysX physics engine, and set lighting and atmospheric conditions through the MATLAB® and Simulink interfaces of the Simulink 3D Animation toolbox.
Algorithmically build virtual worlds using 3D assets, in different supported file formats, such as VRML, X3D, FBX, STL, DAE Collada, URDF, and SDF.
Use the MATLAB API to control and access all objects in the virtual scene and set visual, spatial, and other properties. You can also use this API to control other functionality, such as navigation behavior, collision events, and the video output of a camera or depth sensor attached to the object.
Create or delete objects as you work and independently control object instances.

Functions
Classes
sim3d.Actor | Object used to define actors in the Unreal Engine viewer |
sim3d.World | Object used to define virtual reality world in Unreal Engine viewer |
sim3d.sensors.IdealCamera | Capture an image and make it available in MATLAB |
sim3d.sensors.MainCamera | Define perspective in Unreal executable window |
Blocks
Simulation 3D Actor | Define actors in Unreal Engine viewer |
Simulation 3D Actor Transform Get | Get actor translation, rotation, scale |
Simulation 3D Actor Transform Set | Set actor translation, rotation, scale |
Simulation 3D Camera Get | Camera image |
Simulation 3D Scene Configuration | Scene configuration for 3D simulation environment |
Scenes
Empty scene | Empty environment |
Topics
- Get Started Creating Virtual Reality Scenes with Actors
Use
sim3d
classes to programmatically create and interact with virtual reality scenes in the Simulation 3D Viewer. - Unreal Engine Simulation Environment Requirements and Limitations
When simulating in the Unreal Engine environment, keep these software requirements, minimum hardware requirements, and limitations in mind.