title: Creating a video from a sequence of images in Matlab
body: <p>I am stuck on how to create an video file from from a sequence of images.</p>
  <p>I have a folder with images as follows:</p>
  <pre><code>image01.png 
  image02.png 
  ... 
  image150.png
  </code></pre>
  <p>How do I combine them to a video in Matlab?</p>
  <p>I saw this <a href="https://www.mathworks.com/help/matlab/import_export/convert-between-image-sequences-and-video.html#ImagesAndVideoExample-5" rel="nofollow noreferrer">link</a> explaining it, but I could not understand it exactly.</p>