Main Content

Virtual Mcity

Virtual Mcity 3D environment

Description

The Virtual Mcity scene is a 3D environment containing a virtual representation of Mcity®, which is a testing ground belonging to the University of Michigan. For more details, see Mcity Test Facility. The scene is rendered using the Unreal Engine® from Epic Games®.

For information about additional scenes, see 3D Scenes for Simulation in Unreal Engine Environment.

Virtual MCity scene

Setup

To simulate a driving maneuver in the Virtual Mcity scene:

  1. Add a Simulation 3D Scene Configuration block to your Simulink® model.

  2. In this block, set the Scene source parameter to Default Scenes.

  3. View the currently available scenes in the Scene name parameter. If the scene is not available, you must install it.

  4. To install the scene:

    1. Click Install.

    2. In the Add-on installer dialog box, select the scene.

    3. Click Next and follow the prompts.

    MATLAB® restarts after the scene is installed.

  5. Select the scene name from the Scene name parameter.

Layout

The scene uses the world coordinate system to locate objects. The active area of the scene contains the road.

OverallActive Area

Top-down view of Virtual MCity scene

Close-up of the active area and the recommended vehicle starting location

Vehicles

Objects

Limitations

Version History

Introduced in R2018b

expand all