Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!q30g2000prq.googlegroups.com!not-for-mail
From: NZTideMan <mulgor@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Export matlab animation to avi
Date: Sat, 25 Oct 2008 12:36:46 -0700 (PDT)
Organization: http://groups.google.com
Lines: 12
Message-ID: <29a6f909-344b-4733-8ebf-996301b1c85b@q30g2000prq.googlegroups.com>
References: <gdq8qd$862$1@fred.mathworks.com> <Jb2Mk.5938$UD6.4434@newsfe07.iad> 
	<gdqogq$mri$1@fred.mathworks.com> <gdqprt$ak6$1@fred.mathworks.com> 
	<gdthb9$qj6$1@fred.mathworks.com>
NNTP-Posting-Host: 222.154.131.159
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1224963407 14436 127.0.0.1 (25 Oct 2008 19:36:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 25 Oct 2008 19:36:47 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: q30g2000prq.googlegroups.com; posting-host=222.154.131.159; 
	posting-account=qPexFwkAAABOl8VUndE6Jm-9Z5z_fSpR
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) 
	Gecko/20080829 Firefox/2.0.0.17,gzip(gfe),gzip(gfe)
Bytes: 2204
Xref: news.mathworks.com comp.soft-sys.matlab:497233


On Oct 25, 11:14 am, "Peng Lei" <peng...@uwm.edu> wrote:
> Ok, I got your point, it can really export the animation to an avi video. But my case is more complicated than that. first I creat a GUI interface with 4 panels and 2 axes,  then I also made two pushbuttons on the GUI, click the first one, the background on panels and axes show up, click the second one, the progressing curve lines and moving images will show on the panels and axes. The matlab files contain one .M file and one .f file. Is it possible to record the process above to make it a avi file by matlab? If so, how?
>
> Thanks

Copy each panel, axis, figure, or whatever into a matrix using
getframe.
When you play the matrix back, you get a movie.
I think you're looking for a complicated solution, when it's really
quite simple.
You need to clearly think what you want to show in the movie, then
apply getframe appropriately.