Skip to Main Content Skip to Search
Product Documentation

vrworld/isvalid - 1 if vrworld object is valid, 0 if not

Syntax

x = isvalid(vrworld_object)

Arguments

vrworld_object

A vrworld object representing a virtual world.

Description

A vrworld object is considered valid if its associated virtual world still exists.

x = isvalid(vrworld_object) returns an array that contains a 1 when the elements of vrworld_object are valid vrworld objects, and returns a 0 when they are not.

You use this method to check whether the vrworld object is still valid. Using a delete or vrclear command can make a vrworld object invalid.

See Also

vrfigure/isvalid | vrnode/isvalid

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS