Tip of the Week - Animation Playback Controls in Live Editor

Div Tiwari on 30 Apr 2021
Latest activity Reply by Div Tiwari on 6 May 2021

Educators make their course material more interactive, promote self-directed learning, and increase student engagement through Live Editor. One of the advantages it offers is animated figures in your Live scripts. This can help students better understand dynamic systems such as the motion of a projectile or a double pendulum through visualization. With R2021a, you can now replay animations and explore individual frames without having to re-run the code.

To do so, use the playback controls that appear within the figure window after an animation is done playing. You can view and run this example animation within your browser.

Learn more about creating and sharing live scripts for applications such as flipped classrooms on this Instructional Resources page.

Yevgeny Gayev
Yevgeny Gayev on 3 May 2021

Great! I will suggest learning it to my students.

Abhishek Gupta
Abhishek Gupta on 30 Apr 2021

Div, this is so cool. Do the animations work with both numeric and symbolic equations?

Div Tiwari
Div Tiwari on 6 May 2021

Yes, it does! This documentation example uses the Symbolic Math Toolbox to animate a double pendulum's motion.