1 <?xml version="1.0" encoding="UTF-8"?>
5 * Copyright (C) INRIA - METALAU Project <scicos@inria.fr> (HTML version)
6 * Copyright (C) DIGITEO - Scilab Consortium (XML Docbook version)
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 * See the file ./license.txt
24 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="END_c">
26 <refname>END_c</refname>
27 <refpurpose>END_c block</refpurpose>
30 <title>Block Screenshot</title>
34 <imagedata align="center" fileref="../../../../images/palettes/END_c.png" valign="middle"/>
39 <refsection id="Contents_END_c">
40 <title>Contents</title>
44 <link linkend="END_c">END_c block</link>
51 <xref linkend="Description_END_c">Description</xref>
56 <xref linkend="Dialogbox_END_c">Dialog box</xref>
61 <xref linkend="Defaultproperties_END_c">Default
68 <xref linkend="Interfacingfunction_END_c">Interfacing
75 <xref linkend="Computationalfunction_END_c">Computational
82 <xref linkend="Seealso_END_c">See also</xref>
89 <refsection id="Palette_END_c">
90 <title>Palette</title>
94 <link linkend="Sinks_pal">Sinks - Sinks palette</link>
99 <refsection id="Description_END_c">
100 <title>Description</title>
101 <para>That block increases the current time to the final integration time
102 of the simulation when it is activated :
104 <latex>$$T_f = T_{cur}$$</latex>
106 with <emphasis role="bold">Tcur</emphasis> the activation date of
107 the block and <emphasis role="bold">Tf</emphasis> the final integration
108 time defined in the in the Setup item of the simulate Menu
111 <para>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.
114 <refsection id="Dialogbox_END_c">
115 <title>Dialog box</title>
119 <imagedata align="center" fileref="../../../../images/gui/END_c_gui.gif" valign="middle"/>
127 <emphasis role="bold">Final simulation time</emphasis>
129 <para>That parameter is a date for an initial output event. By using a
130 feed back from the event output port to the event input port, then
131 that block can himself end the simulation at the time defined by this
134 <para>Properties : Type 'vec' of size 1.</para>
138 <refsection id="Defaultproperties_END_c">
139 <title>Default properties</title>
143 <emphasis role="bold">always active:</emphasis> no
148 <emphasis role="bold">direct-feedthrough:</emphasis> no
153 <emphasis role="bold">zero-crossing:</emphasis> no
158 <emphasis role="bold">mode:</emphasis> no
163 <emphasis role="bold">number/sizes of activation
171 <emphasis role="bold">number/sizes of activation
179 <emphasis role="bold">continuous-time state:</emphasis>
185 <emphasis role="bold">discrete-time state:</emphasis> no
190 <emphasis role="bold">object discrete-time state:</emphasis>
196 <emphasis role="bold">name of computational function:</emphasis>
197 <emphasis role="italic">scicosexit</emphasis>
202 <refsection id="Interfacingfunction_END_c">
203 <title>Interfacing function</title>
206 <para>SCI/modules/scicos_blocks/macros/Events/END_c.sci</para>
210 <refsection id="Computationalfunction_END_c">
211 <title>Computational function</title>
214 <para>SCI/modules/scicos_blocks/src/c/scicosexit.c (Type 4)</para>
218 <refsection id="Example_END_c">
219 <title>End example</title>
220 <link type="scilab" linkend="scilab.xcos/xcos/examples/sinks_pal/END_c_Example.zcos">
223 <imagedata align="center" fileref="../../../../examples/sinks_pal/END_c_Example.zcos" valign="middle"/>
228 <refsection id="Seealso_END_c">
229 <title>See also</title>
233 <link linkend="ENDBLK">ENDBLK - END block (Scicos