User`s guide
6 Using the 3D World Editor
6-6
Open a Saved Virtual World
Use one of these approaches to open a saved virtual world.
• From the MATLAB Current Folder panel, right-click a VRML file and from the
context menu, select Edit
• If 3D World Editor is your default VRML editor, start it from the MATLAB command
line using the edit command. For example:
edit(vrworld('myVRMLfile.wrl'))
• Regardless of what your default VRML editor is, from the MATLAB command line,
use the vredit command with the name of the VRML file. For example:
vredit('membrane.wrl')
• From within the 3D World Editor, select File > Open. If a file is already open in the
3D World Editor, this option opens a new instance of the editor.
Preferences for 3D World Editor Startup
The Simulink 3D Animation Preferences > 3D World Editor pane includes the
following options for specifying the startup position:
• For the default location, select Position. Then specify the pixel location for the lower-
left corner, the width, and the height (for example, [96 120 862 960]).
• To open the 3D World Editor in the same location where you exited it, select Save
position on exit.
You can specify whether the 3D World Editor starts up either with the default virtual
world display layout or with the layout as it was when you exited it previously. The saved
layout includes settings for the view, viewpoints, navigation, and rendering. Simulink 3D
Animation saves the layout on a per VRML file basis for up to eight files.
By default, the virtual world opens with the layout saved at exit. To have the virtual
world open using the default layout, clear the Preferences > Simulink 3D Animation
> Editor > Preserve Layout per VRML File check box.