| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
Sources
The Digital Clock block outputs the simulation time only at the specified sampling interval. At other times, the output is held at the previous value.
Use this block rather than the Clock block (which outputs continuous time) when you need the current time within a discrete system.
The Digital Clock block outputs a real signal of type double.

The sampling interval. The default value is 1 second. See Specifying Sample Time.
Sample Time | Specified in the Sample time parameter |
Scalar Expansion | No |
Dimensionalized | No |
Zero Crossing | No |
![]() | Difference | Direct Lookup Table (n-D) | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |