Saving Matlab movie

Hi all,

May I get help in how to save a Matlab movie?

I can generate a movie by using the following cammands


fig1;
winsize = get(fig1,'Position');
winsize(1:2)=[0 0];
numframes=100;
A=moviein(numframes,fig1,winsize);
set(fig1,'NextPlot','replacechildren')
for i=1:numframes ;
plot(x,u(i,,x,v(i,,'LineWidth',2);
A(:,i)=getframe(fig1,winsize);
end

How to save the resultant movie?


Thak you in adavance.

Comments

  • Did you try the function [u]movie2avi[/u]?
  • Thank you for reply.

    Yes, I tried it but it does not work. I got message that I should have something called Indeo Codec. I installed it but also got the same message.


  • Let's see the matlab help, in the function movie2avi you can specify an option that by default is 'indeo5'. Perhaps if you chose another option it could run.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories