User`s guide

10 Functions — Alphabetical List
10-124
vrworld
Create new vrworld object associated with virtual world
Syntax
myworld = vrworld(filename)
myworld = vrworld(filename,'reuse')
myworld = vrworld(filename, 'new')
myworld = vrworld
myworld = vrworld('')
myworld = vrworld([])
Arguments
filename String containing the name of the VRML file from which the virtual
world is loaded. If no file extension is specified, the file extension
.wrl is assumed.
'new' Argument to create a virtual world associated with filename.
Description
myworld = vrworld(filename) creates a virtual world associated with the VRML
file filename and returns its handle. If the virtual world already exists, a handle to the
existing virtual world is returned. Specify the file name as a string.
myworld = vrworld(filename,'reuse') has the same functionality as myworld =
vrworld(filename).
myworld = vrworld('filename', 'new') creates a virtual world associated with
the VRML file filename and returns its handle. It always creates a new virtual world
object, even if another vrworld object associated with the same VRML file already exists.