This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


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.

See Also


Introduced before R2006a