Main Content

vredit

(To be removed) Open 3D World Editor

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

Syntax

w = vredit
w = vredit(filename)

Description

w = vredit opens the 3D World Editor with an empty virtual world.

w = vredit(filename) opens a virtual world file in the 3D World Editor, based on the specified filename. It returns the vrworld handle of the virtual world.

To open a virtual world file in a third-party editor, do not use the vredit command.

Note

The vredit command opens the 3D World Editor, regardless of the default editor preference setting.

Examples

collapse all

vredit

Open the membrane virtual world in the 3D World Editor.

myworld = vredit('membrane.wrl')

Version History

Introduced in R2012b

collapse all

R2023b: To be removed

The vredit function will be removed in a future release. Instead, use sim3d classes and Simulation 3D blocks in Unreal Engine Scenario Applications to interface MATLAB® and Simulink® with the Unreal Engine® 3D simulation environment. To get started, see Get Started Creating Virtual World with Actors.