User`s guide

Deleting Image Acquisition Objects
You can also delete all the video input objects that currently exist i n
memory in one call to
delete by using the imaqfind function. The
imaqfind function returns an array of all the video input objects in memory.
imaqfind
Video Input Object Array:
Index: Type: Name:
1 videoinput RGB555_128x96-winvideo-1
2 videoinput RGB24_176x144-winvideo-1
3 videoinput YV12_352x288-winvideo-1
Nest a call to the imaqfin d function within the delete function to delete
all these objects from memory.
delete(imaqfind)
Note that the variables associated with the objects remain in the workspace.
whos
Name Size Bytes Class
vid 1x1 1120 videoinput object
vid2 1x1 1120 videoinput object
vid3 1x1 1120 videoinput object
vids 1x3 1280 videoinput object
These va r iables are no t valid image acquisition o bjects.
isvalid(vid)
ans =
0
To remove these variables from the workspace, use the clear command.
4-29