The Digital clock block outputs the simulation time at the specified sample time.
Dialog box

Figure 1 Digital Clock dialog box
Parameters
|
Parameter(s) |
Description |
|
Sample Time |
Enter the time interval between samples. |