This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Specify number of additional times to execute trigger


The TriggerRepeat property specifies the number of additional times you want the object to execute a trigger. This table describes the behavior for several typical TriggerRepeat values.



0 (default)

Execute the trigger once when the trigger condition is met.

Any positive integer

Execute the trigger the specified number of additional times when the trigger condition is met.


Keep executing the trigger every time the trigger condition is met until the stop function is called or an error occurs.

To determine how many triggers have executed, check the value of the TriggersExecuted property.

    Note   If the FramesPerTrigger property is set to Inf, the object ignores the value of the TriggerRepeat property.



Read only while running

Data type



Any nonnegative integer. The default value is 0 (zero).

Was this topic helpful?