Name

generic_block — Generic block (Old block)

Block Screenshot

Contents

Palette

Description

Description

Dialog box

  • simulation function

    Name of the function to be loaded.

    Properties : Type 'vec' of size 1

  • function type

    Type of the computational function supported by Scicos.

    Properties : Type 'vec' of size 1

  • input ports sizes

    Number of regular input ports.

    Properties : Type 'vec' of size -1

  • output port sizes

    Number of regular input ports.

    Properties : Type 'vec' of size -1

  • input event ports sizes

    a vector of ones, size of event input ports. The size of the vector gives the number of event input ports.

    Properties : Type 'vec' of size -1

  • output events ports sizes

    a vector of ones, size of event output ports. The size of the vector gives the number of of event output ports.

    Properties : Type 'vec' of size -1

  • initial continuous state

    A column vector of Initial State Conditions.

    Properties : Type 'vec' of size -1

  • initial discrete state

    A column vector Initial discrete Conditions.

    Properties : Type 'vec' of size -1

  • Real parameters vector

    column vector. Any parameters used in the block can be defined here as a column vector.

    Properties : Type 'vec' of size -1

  • Integer parameters vector

    column vector. Any integer parameters used in the block can be defined here as a column vector.

    Properties : Type 'vec' of size -1

  • initial firing vector

    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.

    Properties : Type 'vec' of size sum(%6)

  • direct feedthrough

    character "y" or "n", specifies if block has a direct input to output feedthrough.

    Properties : Type 'vec' of size 1

  • time dependence

    Time dependance : character "y" or "n", specifies if block output depends explicitly on time.

    Properties : Type 'vec' of size 1

Default properties

  • always active: no

  • direct-feedthrough: yes

  • zero-crossing: no

  • mode: no

  • regular inputs:

    - port 1 : size [1,1] / type 1

  • regular outputs:

    - port 1 : size [1,1] / type 1

  • number/sizes of activation inputs: 0

  • number/sizes of activation outputs: 0

  • continuous-time state: no

  • discrete-time state: no

  • object discrete-time state: no

  • name of computational function: sinblk

Interfacing function

  • SCI/modules/scicos_blocks/macros/Misc/generic_block.sci

Computational function

  • SCI/modules/scicos_blocks/src/fortran/sinblk.f (Type 1)