Curved Road
Curved road 3D environment
Since R2024a
Description
The Curved Road scene is a 3D environment of a curved highway loop. The scene is created using RoadRunner.
For information about additional scenes, see 3D Scenes for Simulation in Unreal Engine Environment.
Setup
To simulate a driving maneuver in the Curved
        road scene using Simulink®:
- Add a Simulation 3D Scene Configuration block to your Simulink model. 
- In this block, set the Scene source parameter to - Default Scenes.
- View the currently available scenes in the Scene name parameter. If the scene is not available, you must install it. 
- To install the scene: - Click Install. 
- In the Add-on installer dialog box, select the scene. 
- Click Next and follow the prompts. 
 - MATLAB® restarts after the scene is installed. 
- Select the scene name from the Scene name parameter. 
To simulate in the Curved road scene using
        MATLAB:
- Enter this command in MATLAB to install the scene. - sim3d.utils.installUnrealEngineScene 
- In the Add-on installer dialog box, select the scene. 
- Click Next and follow the prompts. MATLAB restarts after the scene is installed. 
- Create a - sim3d.Worldobject.
- Set the - Sceneargument to the scene name.
Layout
The scene uses the world coordinate system to locate objects.

Tips
- If you have the Simulink 3D Animation™ Interface for Unreal Engine® Projects support package, then you can modify this scene. In the Unreal Engine project file that comes with the support package, this scene is named - HwCurve.- For more details on customizing scenes, see Customize Scenes in Unreal Engine for 3D Simulations. 
Version History
Introduced in R2024aSee Also
Simulation 3D Scene Configuration | Straight Road | Empty Scene | Blank Scene

