Main Content

金宝app3D AnimationViewer

What You Can Do with the Viewer

本节概述的功能and controls of the viewer.

This section uses thevrpend,vrplanets, andvrtut1examples to illustrate the viewer features:

  1. Select a金宝app®3D Animation™example and type the example name in the MATLAB®Command Window. For example:

    vrpend

    The Simulink model is displayed. By default, theSimulink 3D Animationviewer for that model is loaded and becomes active. If the viewer is not displayed, double-click the VR Sink block in the Simulink model.

  2. Inspect the viewer window.

    TheSimulink 3D Animationviewer displays the virtual scene. The top of the viewer contains a menu bar and toolbar. By default, theSimulink 3D Animationviewer displays the virtual scene with a navigation panel at the bottom. These three areas of the viewer give you alternate ways to work with the virtual scene.

    Note

    TheSimulink 3D Animationviewer settings are saved when you save your model file.

Viewer UsesMATLABFigures

TheSimulink 3D Animationsoftware contains a viewer as the default method for viewing virtual worlds. You can use this viewer on any supported operating system. This viewer uses MATLAB figures. It provides several capabilities, including:

  • Treat the viewer window like a MATLAB figure. This ability enables you to perform MATLAB figure actions such as dock the viewer window in the MATLAB window. For example:

  • To display a context menu that contains the viewer commands, right-click in the viewer window. For example:

  • Combine multiple virtual reality viewer figures in several tiles of a MATLAB figure.

Set Viewer Appearance Preferences

You can configure the appearance of the viewer usingSimulink 3D Animationpreferences. For details, seeFigure Appearance Preferences Dialog Box.

See Also

Functions

Related Examples

More About