Main Content

wait

Class: Aero.Animation
Namespace: Aero

Wait until animation stops playing

Since R2022a

Syntax

wait(h)

Description

wait(h) suspends execution until the animation of animation object h finishes. MATLAB® is blocked until the animation stops.

Input Arguments

expand all

Aerospace animation object, specified as an Aero.Animation object.

Examples

expand all

h = Aero.Animation;
wait(h);

Version History

Introduced in R2022a