Main Content

deleteViewport

Delete viewport from 3D environment

Since R2024b

    Description

    deleteViewport(world,viewport) deletes the view specified by viewport from the 3D environment world.

    Input Arguments

    collapse all

    World object that defines the 3D environment, specified as a sim3d.World object.

    Example: world = sim3d.World()

    Handle to the viewport created using the createViewport function, specified as a character array or string.

    Example: viewport = viewport1

    Version History

    Introduced in R2024b