scifunc_block
scifunc_block — Scicos block defined interactively
Description
This block can realize any type of Scicos block. The function of the
block is defined interactively using dialogue boxes and in Scilab
language. During simulation, these instructions are interpreted by
Scilab; the simulation of diagrams that include these types of blocks
is slower. For more information see Scicos reference manual.
Dialogue parameters
number of inputs | : a scalar. Number of regular input ports |
number of outputs | : a scalar. Number of regular output ports |
number of input events | : a scalar. Number of input event ports |
number of output events | : a scalar. Number of output event ports |
Initial continuous state | : a column vector. |
Initial discrete state | : a column vector. |
System type | : a string: c or d (CBB or DBB, other types are not supported). |
System parameter | : column vector. Any parameters used in the block can be defined here a column vector. |
initial firing | : vector. Size of this vector corresponds to the number of event outputs. The value of the i-th entry specifies the time of the preprogrammed event firing on the i-th output event port. If less than zero, no event is preprogrammed. |
Instructions | : other dialogues are opened consecutively where used may input Scilab code associated with the computations needed (block initialization, outputs, continuous and discrete state, output events date, block ending), |
See also
GENERIC_f