FUNCTION REFERENCE

VideoWriter.close

Finalize and close an open VideoWriter file.

Finalize and close an open VideoWriter file.

Syntax

close(v)

Syntax

v.close()

Flushes buffered frames and closes the output file associated with the VideoWriter object v. Close publishes the finished file in place of any existing destination. An open writer that received no frames leaves no file.

Differences from MATLAB: Replacement of an existing destination waits until close. An empty writer leaves no output file.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.