title: Control frame rate of video player in Vision System toolbox?
body: <p>How can I control the playback rate of a video player in the Vision System toolbox in Matlab? Specifically, I want to slow video down. For instance, here is the simple example of how to load and display a movie <a href="http://www.mathworks.com/help/vision/ref/vision.videofilereader-class.html#examples" rel="nofollow">from the documentation</a>:</p>
  
  <pre><code>videoFReader = vision.VideoFileReader('viplanedeparture.mp4');
  videoPlayer = vision.VideoPlayer;
  while ~isDone(videoFReader)
    videoFrame = step(videoFReader);
    step(videoPlayer, videoFrame);
  end
  release(videoPlayer);
  release(videoFReader);
  </code></pre>
  
  <p>I searched the User's Guide for how to change the frame rate in a simple way in such examples, but found nothing.</p>