User`s guide

triggerconfig
input object obj using co nfi g, a MATLAB structure with field names
TriggerType, TriggerCondit ion,andTrigge rSource,eachcontaining
the d esired proper ty value.
Examples Example 1
Construct a video input object.
vid = videoinput('win video', 1);
Configure trigger properties for the object.
triggerconfig(vid, 'manual')
Trigger the a cquisition .
start(obj)
trigger(obj)
Remove video input object from memory.
delete(vid);
Example 2
This example uses a s tructure returned from triggerinfo to configure
trigger parameters.
Create a video input object.
vid = videoinput('win video', 1);
Use triggerinf o to get a ll valid configurations for the trigger
properties for the object.
config = triggerinfo( vid);
Pass one of the configurations to the triggerconfig function.
triggerconfig(vid,config(2));
Remove video input object from memory.
12-58