Main Content

sim3d.maps.Map.local

List of locally available maps

Since R2022b

    Description

    example

    sim3d.maps.Map.local lists the locally available maps.

    Examples

    collapse all

    This example shows how to download and access the Suburban scene map from the Simulation 3D Scene Configuration block.

    To begin, check the maps available in the server.

    sim3d.maps.Map.server
            MapName                        Description                    Version
        ________________    __________________________________________    _______
    
        "Suburban scene"    "a suburban area beyond the city's border"      "1"   
    

    Download the Suburban scene from the server.

    sim3d.maps.Map.download('Suburban scene')
    Map is susccesfully downloaded and is up-to-date

    Check if the downloaded maps are available in your local machine.

    sim3d.maps.Map.local
            MapName                        Description                    Version
        ________________    __________________________________________    _______
    
        "Suburban scene"    "a suburban area beyond the city's border"      "1"   

    Add the Simulation 3D Scene Configuration block to your model.

    Scene configuration block

    Open the block mask and select the suburban scene from Scene name.

    Block parameters dialog box for Simulation 3D Scene Configuration block

    Run the model.

    Suburban scene view

    Version History

    Introduced in R2022b