User`s guide
10 Functions — Alphabetical List
10-26
vrclear
Remove all closed virtual worlds from memory
Syntax
vrclear
vrclear('-force')
Description
The vrclear function removes from memory all virtual worlds that are closed and
invalidates all vrworld objects related to them. This function does not affect open virtual
worlds. Open virtual worlds include those loaded from the Simulink interface. You use
this command to
• Ensure that the maximum amount of memory is freed before a memory-consuming
operation takes place.
• Perform a general cleanup of memory.
Thevrclear('-force') command removes all virtual worlds from memory, including
worlds opened from the Simulink interface.
See Also
vrworld | vrworld/delete