From: Andreas Ferber on
Hi all I have the same problem with the example file.

aviobj = avifile('example.avi','compression','None');

t = linspace(0,2.5*pi,40);
fact = 10*sin(t);
fig=figure;
[x,y,z] = peaks;
for k=1:length(fact)
h = surf(x,y,fact(k)*z);
axis([-3 3 -3 3 -80 80])
axis off
caxis([-90 90])

F = getframe(fig);
aviobj = addframe(aviobj,F);
end
close(fig);
aviobj = close(aviobj);


But I know that it worked correctly some days ago. Could it be that I changed some default settings in matlab??
I use Windows 7 64bit and matlab R2010a
My avi file displays only the first frame, transparent.

Thanks for help

Andreas
 | 
Pages: 1
Prev: need to create a 3d matrix
Next: Indexing