User`s guide
imaqmem
17-39
Field Description
FrameMemoryUsed Number of bytes currently allocated by the Image Acquisition
Toolbox software.
imaqmem(field) returns information for the field specified by the text string field.
imaqmem(limit) configures the frame memory limit, in bytes, for the Image Acquisition
Toolbox software. limit is used to determine the maximum amount of memory the
toolbox can use for logging image frames.
Note Configuring the frame memory limit does not remove any logged frames from
the image acquisition memory buffer. To remove frames from the buffer, you can bring
them into the MATLAB workspace, using the getdata function, or remove them from
memory, using the flushdata function.
Deprecation Notice
The imaqmem function is being deprecated. In R2014b the function still works, but you
get a warning. In R2015a the function will be removed, and you will get an error. For
R2014b, you get this warning:
Warning: IMAQMEM will be removed in a future release. It is
recommended that you do not limit the frame memory limit for the
toolbox. To check memory usage, use MEMORY for Windows platforms or
your operating system commands such as "top" for UNIX platforms.
If you have any code that uses this function, remove it to avoid the warning and the error
in the future.
Examples
Use imaqmem to get information about system memory.
imaqmem
ans =
MemoryLoad: 85