Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
CLOCK_c
Activation clock
Block Screenshot

Description
The unique output of this block generates a regular train of events that are scheduled by parameter Period in seconds. The starting date of events generation can be set in seconds with the Initialisation Time parameter.
Parameters

Period
Scalar. Period is the time that separates two output events, it is the inverse of the frequency of the clock.
Properties : Type 'vec' of size 1.
Initialisation Time
Scalar. Starting date.
If negative the clock never starts.
Properties : Type 'vec' of size 1.
Default properties
always active: no
direct-feedthrough: no
zero-crossing: no
mode: no
number/sizes of activation inputs: 0
number/sizes of activation outputs: 1
continuous-time state: no
discrete-time state: no
object discrete-time state: no
name of computational function: csuper
Example
A simple example of CLOCK_c block event output.

Interfacing function
SCI/modules/scicos_blocks/macros/Sources/CLOCK_c.sci
See also
- SampleCLK — Sample Time Clock
Report an issue | ||
<< Sources_pal | Sources palette | CONST_m >> |