Main Content

vrworld/edit

(To be removed) Open virtual world file in virtual world editor

vrworld/edit will be removed in a future release. For more information, see Version History.

Syntax

edit(vrworld_object)

Arguments

vrworld_object

A vrworld object representing a virtual world.

Description

The edit method opens the virtual world 3D file associated with the vrworld object in a virtual world editor. The Editor preference specifies the editor to use. See vrsetpref for details on setting preferences.

The editor saves any changes you make directly to a virtual world file. If the virtual world is open,

  • Use the save command in the virtual world editor to save the changes to a virtual world file. In the MATLAB® interface, the changes appear after you reload the virtual world.

  • Use the save method in the MATLAB software to replace the modified virtual world 3D file. Any changes you made in the editor are lost.

Version History

Introduced before R2006a

collapse all

R2023b: To be removed

The vrworld/edit will be removed in a future release. Instead, use sim3d classes and Simulation 3D blocks to interface MATLAB and Simulink® with the Unreal Engine® 3D simulation environment. To get started, see Create 3D Simulations in Unreal Engine Environment.