isOpened (cv.VideoWriter) - MATLAB File Help
cv.VideoWriter/isOpened

Returns true if video writer has been successfully initialized

retval = vid.isOpened()

Output

Returns true if video writer has been successfully initialized.

See also
Method Details
Access public
Sealed false
Static false