Products & Services Solutions Academia Support User Community Company

Learn more about Aerospace Toolbox   

removeBody - Class: Aero.Animation
Package: Aero

Remove one body from animation

Syntax

h = removeBody(h,idx)
h = h.removeBody(idx)

Description

h = removeBody(h,idx) and h = h.removeBody(idx) remove the body specified by the index idx from the animation object h.

Inputs

hAnimation object.
idxBody specified with this index.

Examples

Remove the body identified by the index, 1.

h = Aero.Animation;
idx1 = h.createBody('pa24-250_orange.ac','Ac3d');
h = removeBody(h,1)
  


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