Wait until animation is done playing
h.wait wait until the animation is done playing.
MATLAB® is blocked until the animation stops.
Wait until animation of FlightGear animation object,
h = Aero.FlightGearAnimation; h.wait;
Introduced in R2022a