camList=webcamlist; cam=webcam(1); preview(cam); img=snapshot(cam);
clear cam;