Main Content


(To be removed) Open 3D World Editor

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


w = vredit
w = vredit(filename)


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.


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


collapse all


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 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.