Main Content

vrgcbf

(To be removed) Current callback vrfigure object

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

Syntax

f = vrgcbf

Description

f = vrgcbf returns a vrfigure object representing the virtual reality figure that contains the callback currently being executed.

When no virtual reality figure callbacks are executing, vrgcbf returns an empty array of vrfigure objects.

Version History

Introduced in R2008b

collapse all

R2023b: To be removed

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