From: Leng-Feng Lee on
I have the same problem. Using the example given in avifile, added compression to none, the resulting avi only capture the first frame, with some transparency added.
------------------------------------------------------------
t = linspace(0,2.5*pi,40);
fact = 10*sin(t);
fig=figure;
aviobj = avifile('example.avi','compression','none')
[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);
------------------------------------------------------------
I am using win7 64bits and MATLAB 2009b.

Because of the transparency, I tried turn off the Win7 window transparency setting, but no luck.

Lee