User`s guide
imaqreset
Purpose Disconnect and delete all image acquisition objects
Syntax imaqreset
Description imaqreset deletes any image acquisition objects that exist in m emory
and unloads all adaptors loaded by the toolbo x. As a result, the image
acquisition hardware is reset.
imaqreset is the image acquisition command that returns MATLAB to
theknownstateofhavingnoimageacquisitionobjectsandnoloaded
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 imaqreset shouldnotbecalledfromanyofthecallbacksofa
videoinput object, such as the
StartFcn or FramesA cquiredFcn.
See Also delete, vid eoinput
12-29