Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: compiling images into a video
Date: Fri, 23 Oct 2009 08:30:20 +0000 (UTC)
Organization: Universit&#228;t Heidelberg
Lines: 13
Message-ID: <hbrpis$r5f$1@fred.mathworks.com>
References: <hbkvp0$2tu$1@fred.mathworks.com> <hbl2ms$j96$1@fred.mathworks.com> <hbl78t$ikr$1@fred.mathworks.com> <hblat6$k7q$1@fred.mathworks.com> <hblbhq$34q$1@fred.mathworks.com> <hblebr$98k$1@fred.mathworks.com> <hbqc7j$gq9$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256286620 27823 172.30.248.38 (23 Oct 2009 08:30:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 23 Oct 2009 08:30:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869888
Xref: news.mathworks.com comp.soft-sys.matlab:579515


Dear Jimmy!
 
> thank you very much for your help. Unfortunately I am getting some error which says 'not enough output arguments' when I try to run the code. And it gives error at close(AVI) as well. But thanks a lot for your try.

It would be helpful if you post the complete error message and the line, where it occurs. I cannot analyse "some error".
On Matlab 6.5, 2008b, 2009a the code works (except I've inserted a typo at posting it here, but I cannot find one). Perhaps there is the same problem as with the AUDIOPLAYER object: For some Matlab version the needed command is:
  play(audioplayer_object)
and for others:
  audioplayer_object.play.

So please look in the already mentioned "help avifile", where you can find an example for creating an AVI with your Matlab version.

Good luck, Jan