Main Content

vrview

(To be removed) View virtual world using Simulink 3D Animation viewer or Web browser

vrview will be removed in a future release. For more information, see Version History.

Syntax

vrview
x = vrview('filename')
x = vrview('filename','-internal')
x = vrview('filename','-web')

Description

vrview opens the default Web browser and loads the Simulink® 3D Animation™ software Web page containing a list of virtual worlds available for viewing.

x = vrview('filename') creates a virtual world associated with the .wrl file, opens the virtual world, and displays it in the Simulink 3D Animation Viewer or the Web browser depending on the value of the DefaultViewer preference. The handle to the virtual world is returned.

x = vrview('filename','-internal') creates a virtual world associated with the wrl file, opens the virtual world, and displays it in the Simulink 3D Animation Viewer.

x = vrview('filename','-web') creates a virtual world associated with the .wrl file, opens the virtual world, and displays it in your Web browser.

vrview('filename#viewpointname') specifies a default viewpoint.

Version History

Introduced before R2006a

collapse all

R2023b: To be removed

The vrview will be removed in a future release. Instead, use sim3d classes and Simulation 3D blocks to interface MATLAB® and Simulink with the Unreal Engine® 3D simulation environment. To get started, see Create 3D Simulations in Unreal Engine Environment.