problem in imaqmem even though i change the memory size

15 Ansichten (letzte 30 Tage)
Ayesha ayub
Ayesha ayub am 15 Okt. 2014
Kommentiert: jeancola am 25 Jul. 2018
Error event occurred at 21:53:46 for video input object: Logitech. Unable to allocate memory for an incoming image frame. Use IMAQMEM to modify the frame memory limit. ??? Error using ==> dos Unable to allocate memory for an incoming image frame. Use IMAQMEM to modify the frame memory limit.
i modified the frame memory limit but still give same error why
  1 Kommentar
Image Analyst
Image Analyst am 15 Okt. 2014
Please copy all the red error text - don't just snip out some of it. I'm not seeing line number, the actual line of code, etc.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

frans Thabo
frans Thabo am 25 Okt. 2017
Bearbeitet: Walter Roberson am 26 Okt. 2017
Unable to allocate memory for an incoming image frame. Use IMAQMEM to modify the frame
memory limit.
Error in imaqdevice/getsnapshot (line 60)
snapshot = getsnapshot(imaqgate('privateGetField', obj, 'uddobject'));
Error in RedObjectTracking (line 27)
data=getsnapshot(vid); %We declare a variable 'data' to store the
extracted frame
  1 Kommentar
Walter Roberson
Walter Roberson am 26 Okt. 2017
Note: if the error message had instead been the slightly different
Unable to allocate memory for an incoming image frame due to insufficient free physical memory.
and you are using OS-X or MacOS, then see https://www.mathworks.com/support/bugreports/1422542

Melden Sie sich an, um zu kommentieren.


Madhura Suresh
Madhura Suresh am 31 Okt. 2017
Ayesha,
On all platforms, use this before running any functionality from the Image Acquisition Toolbox to not limit memory for MATLAB:
imaqreset
imaqmex('feature','-limitPhysicalMemoryUsage',false);
% create videoinput objects
  1 Kommentar
jeancola
jeancola am 25 Jul. 2018
Hi, I have the same problem (using Matlab R2014a , macvideo and OS X Yosemite). When I write imaqmex('feature','-limitPhysicalMemoryUsage',false); I have the following error: Error using imaqmex The IMAQMEX feature specified is invalid. Would you know why?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by