Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

imaqreset

Disconnect and delete all image acquisition objects

Syntax

imaqreset

Description

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

Was this topic helpful?