Main Content

vrnode/get

(To be removed) Property value of vrnode object

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

Syntax

get(vrnode_object)
x = get(vrnode_object)
x = get(vrnode_object, 'property_name')

Arguments

vrnode_object

Name of a vrnode object representing the node to be queried.

property_name

Name of the property to be read.

Description

get(vrnode_object) lists all vrnode properties in the MATLAB® Command Window.

x = get(vrnode_object), where vrnode_object is a scalar, returns a structure where each field name is the name of a property and each field contains the value of that property.

x = get(vrnode_object, 'property_name') returns the value of given property.

If vrnode_object is a vector of vrnode handles, get returns an M-by-1 cell array of values, where M is equal to length(vrnode_object).

The vrnode property values are case sensitive. Property names are not case sensitive.

The vrnode object properties allow you to control the behavior and appearance of objects. The vrnode objects have the following properties. All these properties are read only.

PropertyValueDescription

Fields

Cell array

Valid field names for the node.

Name

String

Name of the node.

Type

String

Type of the node. The value is a string (for example, 'Transform', 'Shape').

World

Handle

Handle of the parent vrworld object. This is a vrworld object that represents the node's parent world.

Version History

Introduced before R2006a

collapse all

R2023b: To be removed

The vrnode/get 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.