Simulink Transition Workflow
Transition your model using Simulation 3D blocks to complete these tasks.
Task | VR Block | Simulation 3D Block | 3D Environment Description |
---|---|---|---|
Create world. | Source file parameter in VR Sink block | Simulation 3D Scene Configuration block | The Simulation 3D Scene Configuration block creates the 3D environment with the prebuilt scene and starts the co-simulation with the Unreal Engine®. |
Load world. | Simulation 3D Actor block | Load the VRML file using the Path to source file parameter in the Simulation 3D Actor block. Use the Initialization script to set initial actor properties
like | |
Access and control actors. | Virtual World Tree parameter in VR Sink block | Input and output ports of Simulation 3D Actor block | Use the Input and Output tabs to add input and output ports to Simulation 3D Actor block to access and control the actor properties. The default coordinate system of the 3D environment is the world coordinate system. For more information on coordinate systems, see Coordinate Systems in Simulink 3D Animation. |
Open and view world. | Double-click the VR Sink block | Simulate the model | Start the co-simulation with the Unreal Engine. Open and display the 3D environment in the Simulation 3D Viewer window. |
View 3D simulation. | Run the simulation |
See Also
Simulation 3D Scene Configuration | Simulation 3D Actor