Main Content


Disconnect and delete all image acquisition objects




imaqreset deletes any image acquisition objects that exist in memory and unloads all adaptors loaded by the toolbox. As a result, the image acquisition hardware is reset.

imaqreset is the image acquisition command that returns MATLAB® to the known state of having no image acquisition objects and no loaded image acquisition adaptors.

You can use imaqreset to force the toolbox to search for new hardware that might have been installed while MATLAB was running.

Note that imaqreset should not be called from any of the callbacks of a videoinput object, such as the StartFcn or FramesAcquiredFcn.

Version History

Introduced before R2006a

See Also