Skip to Main Content Skip to Search
Product Documentation

vrworld/save - Write virtual world to VRML file

Syntax

save(vrworld_object, 'vrml_file')

Arguments

vrworld_object

A vrworld object representing a virtual world.

vrml_file

Name of the VRML file to save the virtual world to.

Description

The save method saves the current virtual world to a VRML97 file. The virtual world must be open for you to use this method.

The resulting file is a VRML97 compliant UTF-8 encoded text file. Lines are indented using spaces. Line ends are encoded as CR-LF or LF according to the local system default. Values are separated by spaces.

See Also

vrworld/edit | vrworld/open | vrworld/reload

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS