- By directly specifying the sample time by providing the network as the first input and the sample time as the second input.
- Using name-value pair to specify the sample time, especially when dealing with multiple inputs, as demonstrated in the example below.