Controlling the frame rate in a MATLAB video
1 次查看(过去 30 天)
显示 更早的评论
HI, I am creating a avi video with matlab, the problem is that the video is too fast, how can i do slower?
aviobj = avifile('example');
fig=figure(20);
for i=1:14
for k=1:8
im(:,:,:)=a(i,:,:,:);
imshow(im);
axis off
F = getframe(fig);
aviobj = addframe(aviobj,F);
end
end
close(fig);
aviobj = close(aviobj);
thank you very much
0 个评论
回答(1 个)
Doug Hull
2012-7-16
Use the frame rate option.
1 个评论
Thomas Dixon
2021-7-6
this has lost its usefulness as it now diverts to here: https://uk.mathworks.com/help/doc-archives.html
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrical Block Libraries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!