Main Content

sim3d.maps.Map.delete

Delete local maps downloaded from the server

Since R2022b

    Description

    sim3d.maps.Map.delete(Scene) deletes the map Scene from your local system.

    example

    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.

    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

    Delete the model and check if the map is till available locally.

    sim3d.maps.Map.delete('Suburban scene')
    Suburban scene was successfully deleted

    Input Arguments

    collapse all

    Name of the map being deleted, specified as a string or character array. Once the map is deleted, it automatically disappears from the Simulation 3D Scene Configuration block mask menu.

    Version History

    Introduced in R2022b