User`s guide

2 Introduction
Stopping
the Preview Video Stream
When you
use the
preview function to start previewing image data, the Video
Preview
window displays a view of the live video stream coming from the
device.
To stop the updating of the live video stream, call the
stoppreview
functio
n.
This exa
mple creates a video input object and opens a Video Prev iew window.
The exa
mple then calls the
stoppreview function on this video input object.
The Vid
eo Preview window stops updating the image displayed and stops
updati
ng the timestamp. The status displayed in the Video Preview window
also ch
angestoindicatethatpreviewinghasbeenstopped.
vid = videoinput('win video');
preview(vid)
stoppreview(vid)
2-10