Main Content

Simulink Transition Workflow

Transition your model using Simulation 3D blocks to complete these tasks.

TaskVR BlockSimulation 3D Block3D Environment Description
Create world.Source file parameter in VR Sink blockSimulation 3D Scene Configuration blockThe 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 Mobility.

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 blockSimulate 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

|

Topics