Set the Default Editor

The default virtual world 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 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:

    vrsetpref('Editor', '*VREALM') 

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

Was this topic helpful?