Set the Default Editor

    Tip   The Simulink® 3D Animation™ product includes the 3D World Editor for editing virtual worlds. You can use the 3D World Editor on all supported platforms for Simulink 3D Animation. The 3D World Editor is the default editor. For a comparison of editors, see Virtual World Editors.

You can change your environment to use another editor. You can use the MATLAB® Preferences menu or the MATLAB command line.

Use Preferences to Set the Default Editor

To determine which virtual world editor is set up as the editor in your environment:

  1. From the MATLAB Toolstrip, in the Home tab, in the Environment section, select Preferences > Simulink 3D Animation.

  2. In the Simulink 3D Animation Preferences dialog box, examine the 3D World Editor preference.

You can use the 3D Word Editor preference to select another editor: the V-Realm Builder, the MATLAB editor, or a third-party virtual world editor or text editor. To use a third-party editor, select the Custom option. In the text box that appears, enter the path to the editor.

Use MATLAB Commands to Set the Default Editor

  1. To determine which editor is installed, at the MATLAB command prompt, type:

  2. The default is the 3D World Editor (*BUILTIN). To change the editor, use the vrsetpref command, specifying the editor that you want. For example, to change to the V-Realm editor, type:

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

See Also


Related Examples

Was this topic helpful?