Indicate number of triggers that execute
Note: You cannot use the legacy interface on 64-bit MATLAB®. See About the Session-Based Interface to acquire and generate data on a 64-bit MATLAB.
You can find out how many triggers executed by returning the
TriggersExecuted. The trigger number for
each trigger executed is also recorded by the
AI, AO, common to all channels
Read-only when running
The default value is zero.
Create the analog input object
ai and add
one channel to it.
ai = analoginput('winsound'); ch = addchannel(ai,1);
ai to acquire 40,000 samples with
five triggers using the default sampling rate of 8000 Hz.
ai.TriggerRepeat = 4 start(ai)
TriggersExecuted returns the number of triggers
ans = 5