Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - Français


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

Report an issue
<< Sources_pal Palette Sources CONST_m >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 24 11:16:03 CEST 2024