In this example, you use the From Multimedia File source
block to import a video stream into a Simulink® model and the To
Video Display sink block to view it. This procedure assumes
you are working on a Windows platform.
View your video in the To Video Display window
that automatically appears when you start your simulation.
The video that is displayed in the To Video Display window runs
at the frame rate that corresponds to the input sample time. To run
the video as fast as Simulink processes the video frames, use the
Video Viewer block.
You have now imported and displayed a multimedia file in the Simulink model.
In the Export to Video Files example
you can manipulate your video stream and export it to a multimedia