How to make a movie loop / controll speed?

5 Ansichten (letzte 30 Tage)
sono
sono am 7 Okt. 2012
Kommentiert: Jeff Severino am 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.

Akzeptierte Antwort

Sachin Ganjare
Sachin Ganjare am 12 Okt. 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 Kommentar
Jeff Severino
Jeff Severino am 1 Mai 2019
Thank you so much! 1/fps = s is much easier than using (and waiting for) pause.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Just for fun finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by