Main Content
repeat
Class: matlab.mock.actions.Invoke
Namespace: matlab.mock.actions
Repeat invoking function handle
Syntax
repeat(action,n)
Description
repeat(
repeats
the same action action
,n
)n
times. You can specify the input arguments in any order.
That is, repeat(action,n)
and repeat(n,action)
both
repeat the action n
times.
Input Arguments
Examples
Version History
Introduced in R2018b