open

Class: VideoWriter

Open file for writing video data

Syntax

open(writerObj)

Description

open(writerObj) opens the file associated with writerObj for writing. When you open the file, all properties of the object become read only. open discards any existing contents of the file.

Input Arguments

writerObj

VideoWriter object created by the VideoWriter function.

Examples

Open a new AVI file:

myObj = VideoWriter('newfile.avi');
open(myObj);
Was this topic helpful?