Main Content

stoppreview

Stop previewing video data

Syntax

stoppreview(obj)

Description

stoppreview(obj) stops the previewing of video data from image acquisition object obj.

To restart previewing, call preview again.

Examples

Create a video input object and open a Video Preview window.

vid = videoinput('winvideo',1);
preview(vid)

Stop previewing video data.

stoppreview(vid);

Restart previewing.

preview(vid)

Version History

Introduced before R2006a