Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> xcos > palettes > Commonly used blocks palette > LOGICAL_OP

LOGICAL_OP

Logical operation

Block Screenshot

Description

The Logical Operator block performs the specified logical operation on its inputs. An input value is TRUE (1) if it is nonzero and FALSE (0) if it is zero.

Dialog box

  • number of inputs

    The number of block inputs. The value must be appropriate for the selected operator.

    Properties : Type 'vec' of size 1

  • Operator: AND

    The logical operator to be applied to the block inputs. Valid choices are the operators from the list.

    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

    - port 2 : 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: logicalop

Interfacing function

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

Computational function

  • SCI/modules/scicos_blocks/src/c/logicalop.c

  • SCI/modules/scicos_blocks/src/c/logicalop_i32.c

  • SCI/modules/scicos_blocks/src/c/logicalop_i16.c

  • SCI/modules/scicos_blocks/src/c/logicalop_i8.c

  • SCI/modules/scicos_blocks/src/c/logicalop_ui32.c

  • SCI/modules/scicos_blocks/src/c/logicalop_ui16.c

  • SCI/modules/scicos_blocks/src/c/logicalop_ui8.c

Authors

  • Fady NASSIF INRIA

  • Ramine Nikoukhah INRIA

<< Commonlyusedblocks_pal Commonly used blocks palette RELATIONALOP >>

Copyright (c) 2022-2024 (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:
Wed Jan 26 16:23:46 CET 2011