Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
movie2avi

Subject: movie2avi

From: nman2084

Date: 15 Jul, 2011 19:25:11

Message: 1 of 1

M(1:36) = struct('cdata', [],...
                        'colormap', []);
% Record the movie
rots = [0:10:360];
for i = 1:36
view(rots(i),30);
M(i) = getframe(gcf);
end
%%

 movie2avi(M, 'myRock.avi', 'compression', 'None');


I am not getting movie to work when i execute the for loop, i see movie in the figure, but when i did movie2avi, it only had one view no movie in the avi file, but i had movie in figure when the loop was executed

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us