Main Content

vrnode/set

(To be removed) Change property of virtual world node

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

Syntax

x = set(vrnode_object, 'property_name','property_value')

Arguments

vrnode_object

Name of a vrnode object representing a node in the virtual world.

property_name

Name of a property.

property_value

Value of a property.

Description

x = set(vrnode_object, 'property_name','property_value') changes the specified property of the vrnode object to the specified value.

The vrnode property values are case sensitive, while property names are not case sensitive.

The vrnode property values are case sensitive, while property names are not case sensitive.

The vrnode objects have the following properties. All these properties are read only.

PropertyValueDescription

Fields

Cell array

Valid field names for the node. Read only.

Name

String

Name of the node. Read only.

Type

String

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

World

Handle

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

Currently, nodes have no settable properties.

Version History

Introduced before R2006a

collapse all

R2023b: To be removed

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