Main Content

close

Class: vrfigure

(To be removed) Close virtual reality figure

vrfigure.close will be removed in a future release. For more information, see Version History.

Syntax

close(figure)

Description

close(figure) closes the virtual reality figure referenced by figure. If figure is a vector of vrfigure object handles, then the method closes multiple figures.

Input Arguments

expand all

Virtual reality figure, specified as a vrfigure object.

Examples

expand all

myworld = vrworld('vrpend');
open(myworld);
f = vrfigure(myworld); 
close(f)

Version History

Introduced before R2006a

collapse all

R2023b: To be removed

The close 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.