Main Content

vredit

Open 3D World Editor

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. For example, to open a virtual world in the Ligos® V-Realm Builder editor:

  1. Set the default editor to V-Realm Builder. In MATLAB®, enter:

    vrsetpref('Editor','*VREALM'); 
  2. To open a file in the V-Realm editor, in MATLAB navigate to a virtual world file, right-click, and select Edit.

    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