<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238926</link>
    <title>MATLAB Central Newsreader - Matlab Movies</title>
    <description>Feed for thread: Matlab Movies</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 09 Nov 2008 20:07:01 -0500</pubDate>
      <title>Matlab Movies</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238926#609871</link>
      <author>William Kong</author>
      <description>I am using Matlab to make some movies of simulations I am running. There are times when the movie feature works and there are times it doesn't. When I say it doesn't work, I do not mean a  movie does not show up. All the plots show up to allow me to do screen captures to create a movie and it looks fine. The problem is that when the movie ends, no movie file is created and saved. In fact, at the end of the movie I get this error message: &lt;br&gt;
&lt;br&gt;
??? Failed to open file.&lt;br&gt;
Error in ==&amp;gt; avifile.avifile at 171&lt;br&gt;
&amp;nbsp;&amp;nbsp;aviobj.FileHandle = avi('open',filename);&lt;br&gt;
Error in ==&amp;gt; movie2avi at 63&lt;br&gt;
avimov = avifile(filename,varargin{:});&lt;br&gt;
Error in ==&amp;gt; SRDMovie at 99&lt;br&gt;
movie2avi(G, 'SRD_movie'); &lt;br&gt;
&lt;br&gt;
Sometimes I think the complexity (not length) of the simulation determines whether or not a movie file is created. When I simulate a &quot;simple&quot; scenario, everything works great and I get an avi file in the end. When I run something more complex, the movie craps out on me and I get the error message. However, the problem has also come up during simple simulations too. So I actually have no idea what's going wrong. I have also tried messing with the figure window size (I like to use large windows for better resolution), and that sometimes works if I make the window smaller.&lt;br&gt;
&lt;br&gt;
Anyone have some suggestions as to what I can do to make this movie stuff work? It feels like this movie function is not able to do screen captures of plots with a lot of information or something.</description>
    </item>
    <item>
      <pubDate>Sun, 09 Nov 2008 23:18:01 -0500</pubDate>
      <title>Re: Matlab Movies</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238926#609884</link>
      <author>a programmer</author>
      <description>&quot;William Kong&quot; &amp;lt;schoolsofthought@gmail.com&amp;gt; wrote in message &amp;lt;gf7ft5$p2s$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I am using Matlab to make some movies of simulations I am running. There are times when the movie feature works and there are times it doesn't. When I say it doesn't work, I do not mean a  movie does not show up. All the plots show up to allow me to do screen captures to create a movie and it looks fine. The problem is that when the movie ends, no movie file is created and saved. In fact, at the end of the movie I get this error message: &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ??? Failed to open file.&lt;br&gt;
&amp;gt; Error in ==&amp;gt; avifile.avifile at 171&lt;br&gt;
&amp;gt;   aviobj.FileHandle = avi('open',filename);&lt;br&gt;
&amp;gt; Error in ==&amp;gt; movie2avi at 63&lt;br&gt;
&amp;gt; avimov = avifile(filename,varargin{:});&lt;br&gt;
&amp;gt; Error in ==&amp;gt; SRDMovie at 99&lt;br&gt;
&amp;gt; movie2avi(G, 'SRD_movie'); &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Sometimes I think the complexity (not length) of the simulation determines whether or not a movie file is created. When I simulate a &quot;simple&quot; scenario, everything works great and I get an avi file in the end. When I run something more complex, the movie craps out on me and I get the error message. However, the problem has also come up during simple simulations too. So I actually have no idea what's going wrong. I have also tried messing with the figure window size (I like to use large windows for better resolution), and that sometimes works if I make the window smaller.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Anyone have some suggestions as to what I can do to make this movie stuff work? It feels like this movie function is not able to do screen captures of plots with a lot of information or something.&lt;br&gt;
&lt;br&gt;
Take a look at mpgwrite.dll in the FEX. </description>
    </item>
    <item>
      <pubDate>Mon, 10 Nov 2008 18:00:19 -0500</pubDate>
      <title>Re: Matlab Movies</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238926#610108</link>
      <author>ill will</author>
      <description>&quot;a programmer&quot; &amp;lt;no@spam.com&amp;gt; wrote in message &amp;lt;gf7r39$6mk$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;William Kong&quot; &amp;lt;schoolsofthought@gmail.com&amp;gt; wrote in message &amp;lt;gf7ft5$p2s$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; I am using Matlab to make some movies of simulations I am running. There are times when the movie feature works and there are times it doesn't. When I say it doesn't work, I do not mean a  movie does not show up. All the plots show up to allow me to do screen captures to create a movie and it looks fine. The problem is that when the movie ends, no movie file is created and saved. In fact, at the end of the movie I get this error message: &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; ??? Failed to open file.&lt;br&gt;
&amp;gt; &amp;gt; Error in ==&amp;gt; avifile.avifile at 171&lt;br&gt;
&amp;gt; &amp;gt;   aviobj.FileHandle = avi('open',filename);&lt;br&gt;
&amp;gt; &amp;gt; Error in ==&amp;gt; movie2avi at 63&lt;br&gt;
&amp;gt; &amp;gt; avimov = avifile(filename,varargin{:});&lt;br&gt;
&amp;gt; &amp;gt; Error in ==&amp;gt; SRDMovie at 99&lt;br&gt;
&amp;gt; &amp;gt; movie2avi(G, 'SRD_movie'); &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Sometimes I think the complexity (not length) of the simulation determines whether or not a movie file is created. When I simulate a &quot;simple&quot; scenario, everything works great and I get an avi file in the end. When I run something more complex, the movie craps out on me and I get the error message. However, the problem has also come up during simple simulations too. So I actually have no idea what's going wrong. I have also tried messing with the figure window size (I like to use large windows for better resolution), and that sometimes works if I make the window smaller.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Anyone have some suggestions as to what I can do to make this movie stuff work? It feels like this movie function is not able to do screen captures of plots with a lot of information or something.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; Take a look at mpgwrite.dll in the FEX. &lt;br&gt;
&lt;br&gt;
Could you elaborate more on this? What is FEX?&lt;br&gt;
&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Mon, 10 Nov 2008 18:44:03 -0500</pubDate>
      <title>Re: Matlab Movies</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238926#610117</link>
      <author>Helen Chen</author>
      <description>&amp;gt; &amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Take a look at mpgwrite.dll in the FEX. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Could you elaborate more on this? What is FEX?&lt;br&gt;
&amp;gt; &lt;br&gt;
FEX is short for File Exchange, which is part of MATLAB Central.  Take a look at the files that come up with this File Exchange query:  &lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/?term=mpgwrite&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/?term=mpgwrite&lt;/a&gt;  There are also some related files that are reference from those files, so enjoy!&lt;br&gt;
&lt;br&gt;
Helen</description>
    </item>
    <item>
      <pubDate>Fri, 30 Jan 2009 19:40:18 -0500</pubDate>
      <title>Re: Matlab Movies</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238926#625073</link>
      <author>Chris </author>
      <description>Make sure you don't have the avi file open in another application (like Media Player).  If you do, you will get exactly that message when you try to overwrite the open file.&lt;br&gt;
&lt;br&gt;
&quot;William Kong&quot; &amp;lt;schoolsofthought@gmail.com&amp;gt; wrote in message &amp;lt;gf7ft5$p2s$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I am using Matlab to make some movies of simulations I am running. There are times when the movie feature works and there are times it doesn't. When I say it doesn't work, I do not mean a  movie does not show up. All the plots show up to allow me to do screen captures to create a movie and it looks fine. The problem is that when the movie ends, no movie file is created and saved. In fact, at the end of the movie I get this error message: &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ??? Failed to open file.&lt;br&gt;
&amp;gt; Error in ==&amp;gt; avifile.avifile at 171&lt;br&gt;
&amp;gt;   aviobj.FileHandle = avi('open',filename);&lt;br&gt;
&amp;gt; Error in ==&amp;gt; movie2avi at 63&lt;br&gt;
&amp;gt; avimov = avifile(filename,varargin{:});&lt;br&gt;
&amp;gt; Error in ==&amp;gt; SRDMovie at 99&lt;br&gt;
&amp;gt; movie2avi(G, 'SRD_movie'); &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Sometimes I think the complexity (not length) of the simulation determines whether or not a movie file is created. When I simulate a &quot;simple&quot; scenario, everything works great and I get an avi file in the end. When I run something more complex, the movie craps out on me and I get the error message. However, the problem has also come up during simple simulations too. So I actually have no idea what's going wrong. I have also tried messing with the figure window size (I like to use large windows for better resolution), and that sometimes works if I make the window smaller.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Anyone have some suggestions as to what I can do to make this movie stuff work? It feels like this movie function is not able to do screen captures of plots with a lot of information or something.</description>
    </item>
  </channel>
</rss>

