Main Content

vredit

Open 3D World Editor

Syntax

w = vredit
w = vredit(filename)

Description

w = vreditopens 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 specifiedfilename. It returns thevrworldhandle of the virtual world.

To open a virtual world file in a third-party editor, do not use thevreditcommand. 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 selectEdit.

    Note

    Thevreditcommand opens the 3D World Editor, regardless of the default editor preference setting.

Examples

collapse all

vredit

Open themembranevirtual world in the 3D World Editor.

myworld = vredit('membrane.wrl')

Version History

Introduced in R2012b