| Aerospace Toolbox | ![]() |
Save virtual reality world associated with virtual reality animation object
saveas(h, filename)
h.saveas(filename)
saveas(h, filename) and h.saveas(filename) save the world associated with the virtual reality animation object, h, into the .wrl file name specified in the filename variable. After saving, this function reinitializes the virtual reality animation object from the saved world.
Save the world associated with h.
h = Aero.VirtualRealityAnimation; h.VRWorldFilename = [matlabroot,'/toolbox/aero/astdemos/vrtkoff.wrl']; copyfile(h.VRWorldFilename,[tempdir,'vrtkoff.wrl'],'f'); h.VRWorldFilename = [tempdir,'vrtkoff.wrl']; h.initialize(); h.saveas([tempdir,'my_vrtkoff.wrl']);
![]() | rrtheta | show (Aero.Animation) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |