MATLAB Help Center
Delete viewport from 3D environment
Since R2024b
deleteViewport(world,viewport)
deleteViewport(world,viewport) deletes the view specified by viewport from the 3D environment world.
world
viewport
collapse all
sim3d.World
World object that defines the 3D environment, specified as a sim3d.World object.
Example: world = sim3d.World()
world = sim3d.World()
Handle to the viewport created using the createViewport function, specified as a character array or string.
createViewport
Example: viewport = viewport1
viewport = viewport1
Introduced in R2024b
createViewport | setView | add | run | remove | load | pause | resume | close
setView
add
run
remove
load
pause
resume
close
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office