Main Content

vrworld/reload

(To be removed) Reload virtual world from virtual world 3D file

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

Syntax

reload(vrworld_object)

Arguments

vrworld_object

A vrworld object representing a virtual world.

Description

The reload method reloads the virtual world from the virtual world 3D file associated with the vrworld object. If the input argument is an array of virtual world handles, all the virtual worlds associated with those handles are reloaded. The virtual world must be open for you to use this method.

reload forces all the clients currently viewing the virtual world to reload it. This is useful when there are changes to the virtual world 3D file.

Version History

Introduced before R2006a

collapse all

R2023b: To be removed

The vrworld/reload 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.