Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

initialize (Aero.VirtualRealityAnimation)

Create and populate virtual reality animation object

Syntax

initialize(h)
h.initialize

Description

initialize(h) and h.initialize create a virtual reality animation world and populate the virtual reality animation object h. If a previously initialized virtual reality animation object existgs, and that object has user-specified data, this function saves the previous object to be reset after the initialization.

Examples

Initialize the virtual reality animation object, h.

h = Aero.VirtualRealityAnimation;
h.VRWorldFilename = [matlabroot,'/toolbox/aero/astdemos/asttkoff.wrl'];
copyfile(h.VRWorldFilename,[tempdir,'asttkoff.wrl'],'f');
h.VRWorldFilename = [tempdir,'asttkoff.wrl'];
h.initialize();

See Also

|

Introduced in R2007b

Was this topic helpful?