Main Content

vrworld/nodes

(To be removed) List nodes available in virtual world

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

Syntax

nodes(vrworld_object, '-full')
x = nodes(vrworld_object, '-full')

Arguments

vrworld_object

A vrworld object representing a virtual world.

'-full'

Optional switch to obtain a detailed list of nodes and fields.

Description

If you give an output argument, the method nodes returns a cell array of the names of all available nodes in the world. If you do not give an output argument, the list of nodes is displayed in the MATLAB® window.

You can use the '-full' switch to obtain a detailed list that contains not only the nodes, but also all their fields. This switch affects only the output to the MATLAB Command Window.

The virtual world must be open for you to use this method.

Version History

Introduced before R2006a

collapse all

R2023b: To be removed

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