This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Remove all closed virtual worlds from memory




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.

The vrclear('-force') command removes all virtual worlds from memory, including worlds opened from the Simulink interface.

Introduced before R2006a

Was this topic helpful?