Main Content

vrnode/isfield

(To be removed) Returns true if field is name of vrnode object field

Since R2023a

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

Syntax

x = isfield(vrnode_object,fieldnames)

Arguments

vrnode_object

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

fieldnames

String array or cell array of character vectors.

Description

x = isfield(vrnode_object,fieldnames) returns a logical array, x, the same size as that of fieldnames. x contains true for the elements of fieldnames that are the names of fields in the vrnode and false otherwise.

Version History

Introduced in R2023a

collapse all

R2023b: To be removed

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