MATLAB File Help: cv.VideoCapture/isOpened Index
cv.VideoCapture/isOpened

Returns true if video capturing has been initialized already

retval = cap.isOpened()

Output

If the previous call to constructor or cv.VideoCapture.open succeeded, the method returns true.

See also
Method Details
Access public
Sealed false
Static false