How to make a movie loop / controll speed?

1 vue (au cours des 30 derniers jours)
sono
sono le 7 Oct 2012
Commenté : Jeff Severino le 1 Mai 2019
I made a movie using a looping function to generate plots.
Then grabbed and stored frames:
f = getframe;
F = [F f];
clf
Then played it back:
movie(F)
Is there a command I can use to make it loop after it is over?
Is there a command I can use to alter playback speed?
Thank you.

Réponse acceptée

Sachin Ganjare
Sachin Ganjare le 12 Oct 2012
movie(F,n,fps)
n -> number of times movie is played fps -> frames per second to control speed of movie
Hope it helps!!!
  1 commentaire
Jeff Severino
Jeff Severino le 1 Mai 2019
Thank you so much! 1/fps = s is much easier than using (and waiting for) pause.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Just for fun dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by