Main Content

wait (Aero.FlightGearAnimation)

Wait until animation is done playing

Syntax

wait(h)
h.wait

Description

wait(h) and h.wait wait until the animation is done playing. MATLAB® is blocked until the animation stops.

Examples

Wait until animation of FlightGear animation object, h stops running.

h = Aero.FlightGearAnimation;
h.wait;

Version History

Introduced in R2022a