User`s guide

isvalid
10-47
Examples
Check Validity of Figure Handles
Check whether the figure handles of the vrfigure object are valid. The first check
shows that the figure handle is valid, but the second check shows that the handle is
invalid because the figure is closed.
myworld = vrview('vrpend.wrl');
f = vrfigure(myworld);
firstCheck = isvalid(f)
close(f)
secondCheck = isvalid(f)
firstCheck =
1
secondCheck =
0
“MATLAB Interaction”
“Create vrworld Object for a Virtual World”
See Also
vrfigure class | vrworld
Introduced before R2006a