Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

Introduced before R2006a

Was this topic helpful?