I am using the following code to connect to my Matrox image acquisition device:
vid = videoinput('matrox', 1,'M_NTSC_RGB);set(vid,'TriggerRepeat',Inf);vid.FrameGrabInterval = 5;start(vid);
When I execute the code above, I receive the following error message:
??? Could not connect to the image acquisition device. Device may be in use. Out of memory while allocating acquisition buffers. Try increasing the amount of non-paged memory in the MIL driver.
Best Answer