Products & Services Solutions Academia Support User Community Company

Learn more about Aerospace Toolbox   

initialize - Class: Aero.Animation
Package: Aero

Create animation object figure and axes and build patches for bodies

Syntax

initialize(h)
h.initialize

Description

initialize(h) and h.initialize create a figure and axes for the animation object h, and builds patches for the bodies associated with the animation object. If there is an existing figure, this function

  1. Clears out the old figure and its patches.

  2. Creates a new figure and axes with default values.

  3. Repopulates the axes with new patches using the surface to patch data from each body.

Inputs

hAnimation object.

Examples

Initialize the animation object, h.

h = Aero.Animation;
h.initialize();
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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