Main Content

vrnode/isvalid

1 if vrnode object is valid, 0 if not

Syntax

x = isvalid(vrnode_object_vector)

Arguments

vrnode_object_vector

Name of an array of vrnode objects to be queried.

Description

This method returns an array that contains 1 when the elements of vrnode_object_vector are valid vrnode objects, and 0 when they are not.

The vrnode object is considered valid if the following conditions are met:

  • The parent world of the node exists.

  • The parent world of the node is open.

  • The node with the given vrnode handle exists in the parent world.

Version History

Introduced before R2006a