How to make a movie loop / controll speed?

5 visualizaciones (últimos 30 días)
sono
sono el 7 de Oct. de 2012
Comentada: Jeff Severino el 1 de Mayo de 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.

Respuesta aceptada

Sachin Ganjare
Sachin Ganjare el 12 de Oct. de 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 comentario
Jeff Severino
Jeff Severino el 1 de Mayo de 2019
Thank you so much! 1/fps = s is much easier than using (and waiting for) pause.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Just for fun en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by