Why do I receive an error when attempting to connect to my Matrox
Why do I receive an error when attempting to connect to my Matrox hardware device using Image Acquisition Toolbox 1.9 (R14SP3)?
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.
NOTE:-
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
As the error message suggests, this error can be resolved by increasing the amount of non-paged memory for your Matrox Imaging Library(MIL) driver.
It is recommended that MIL’s non-paged, reserved memory be greater than the size of 4 incoming images. This value can be changed using Matrox’s MIL Configuration utility, provided with MIL. For standard RS170 and CCIR monochrome formats, at least 2MB of non-paged memory is recommended. For standard NTSC and PAL color formats, at least 8MB is recommended.
SEE COMPLETE ANSWER CLICK THE LINK