Open a camera. (experimental)
n = camopen(i)
The i'th camera.
A number, the opened video file/camera index.
camopen open a camera, but it does not read frames from the camera. Please use im=camread(n) to get a frame from the n'th opened video file. Remember to close the opened camera using aviclose(n) or avicloseall() . Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.