Set the Default Editor

The default VRML editor is the 3D World Editor. 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 VRML 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 VRML Editor preference.

You can use the VRML Editor preference to select another editor: the V-Realm Builder, the MATLAB editor, or a third-party VRML 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:

    vrsetpref('Editor', '*VREALM') 

    Tip   The vredit command opens the 3D World Editor, regardless of the default editor preference setting.

Was this topic helpful?