imaqreset
Disconnect and delete all image acquisition objects
Syntax
Description
imaqreset
deletes any image acquisition objects that exist in
memory and unloads all adapters loaded by the toolbox. As a result, the image acquisition
hardware resets.
imaqreset
is the image acquisition command that returns MATLAB® to the known state of having no image acquisition objects and no loaded image
acquisition adapters.
You can use imaqreset
to force the toolbox to search for new hardware
that might have been installed while MATLAB was running.
Note that you must not call imaqreset
from any of the callbacks of a
videoinput
object, such as the start function callback or frames
acquired function callback.
Examples
Version History
Introduced before R2006a