END_c block
That block increases the current time to the final integration time of the simulation when it is activated :
Tf = Tcurwith 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.
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.
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
SCI/modules/scicos_blocks/macros/Events/END_c.sci
SCI/modules/scicos_blocks/src/c/scicosexit.c (Type 4)