|On this page…|
When you install the Simulink® 3D Animation™ product, the 3D World Editor is configured to be the default editor. For details about changing the default editor, see Set the Default Editor).
Note: You can also use the V-Realm Editor. For more information, see V-Realm Builder Help.
Use one of these approaches to open an empty virtual world in the 3D World Editor.
From the MATLAB® Toolstrip, in the Apps tab, in the Simulation Graphics and Reporting section, click 3D World Editor.
If the 3D World Editor is your default VRML editor, open an empty virtual world from the MATLAB command line using the edit command.
Regardless of Default Editor preference setting, you can use , use the vredit command, without arguments.
From within the 3D World Editor, select either File > Newor File > New From Template. If there is already a file open in the 3D World Editor, these options open a new instance of the editor. Multiple instances of the editor makes it easier to work on multiple virtual worlds at the same time and to copy and paste from one virtual world to another.
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:
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:
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.
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.