Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes


END_c

END_c block

Block Screenshot

Description

That block increases the current time to the final integration time of the simulation when it is activated :

Tf = Tcur

with Tcur the activation date of the block and Tf the final integration time defined in the in the Setup item of the simulate Menu (scs_m.props.tf).

Note that the 'Final simulation time' item (on diagram settings) always end the simulation at the specified time. This block should be configured to end the simulation before this setting.

Parameters

  • Final simulation time

    That parameter is a date for an initial output event. By using a feed back from the event output port to the event input port, then that block can himself end the simulation at the time defined by this parameter.

    Properties : Type 'vec' of size 1.

Default properties

  • always active: no

  • direct-feedthrough: no

  • zero-crossing: no

  • mode: no

  • number/sizes of activation inputs: 1

  • number/sizes of activation outputs: 1

  • continuous-time state: no

  • discrete-time state: no

  • object discrete-time state: no

  • name of computational function: scicosexit

Example

Interfacing function

  • SCI/modules/scicos_blocks/macros/Events/END_c.sci

Computational function

  • SCI/modules/scicos_blocks/src/c/scicosexit.c (Type 4)

See also

Report an issue
<< ENDBLK Sinks palette SCALE_CMSCOPE >>

Copyright (c) 2022-2023 (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:
Mon Nov 07 15:06:09 CET 2022