From: Rhiannon on
Hi,

I would like to create a wmv file, as I want to be able to display this movie in a powerpoint presentation. I have created a avi file, which not only is quite bad quality, but also wont play in powerpoint, and this is what Ive done to create that;

mov = avifile('Finename.avi');

for j=1:length(yoriginalspace)
plot(x1,y1,'b',x2,y2,'b','LineWidth',2)
mov = addframe(mov,getframe(gcf));
end

mov = close(mov);

Can anyone help me change this to write a .wmv file instead?

Thanks

Rhiannon
From: Walter Roberson on
Rhiannon wrote:

> I would like to create a wmv file,

You may wish to use the Matlab File Exchange contribution "mmwrite"
http://www.mathworks.com/matlabcentral/fileexchange/15881-mmwrite