uisim3dviewer
R2026bSyntax
Description
creates a 3D viewer
with a default viewer = uisim3dviewer()sim3d.World object
in a figure and returns the sim3d.ui.UnrealViewer object. MATLAB® calls the uifigure function to create the
figure.
creates a 3D viewer with an existing viewer = uisim3dviewer(world)sim3d.World object specified by
world in a figure and returns the sim3d.ui.UnrealViewer object. MATLAB calls the uifigure function to create the figure.
specifies options for the UI component using one or more name-value arguments. You can set
the properties of viewer = uisim3dviewer(___,Name=Value)sim3d.ui.UnrealViewer object as name-value arguments. For example, specify the
size and location of the UI component using the Position property. Use
this option with any of the input argument combinations in the previous syntaxes.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026b
See Also
sim3d.ui.UnrealViewer | sim3d.World | add | run | close | sim3d.Actor | createShape | Simulation 3D Scene
Configuration

