How to make a movie loop / controll speed?

조회 수: 1 (최근 30일)
sono
sono 2012년 10월 7일
댓글: Jeff Severino 2019년 5월 1일
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.

채택된 답변

Sachin Ganjare
Sachin Ganjare 2012년 10월 12일
movie(F,n,fps)
n -> number of times movie is played fps -> frames per second to control speed of movie
Hope it helps!!!
  댓글 수: 1
Jeff Severino
Jeff Severino 2019년 5월 1일
Thank you so much! 1/fps = s is much easier than using (and waiting for) pause.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Just for fun에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by