Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 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 Help >> Xcos > palettes > Sinks palette > TOWS_c

TOWS_c

Data to Scilab workspace

Block Screenshot

Description

That block is used to put simulated data in the scilab workspace.

Each sampling time, both dates and values of input are recorded.

Records are available after the simulation in Scilab's workspace as variable.time and variable.values where variable is the name given in the Scilab variable name field.

Parameters

  • Size of buffer

    Set the size of the input buffer. That gives the total number of samples recorded during the simulation.

    That buffer is a circulate buffer.

    Properties : Type 'vec' of size 1.

  • Scilab variable name

    Set the name of the Scilab variable. This must be a valid variable name.

    The simulation must be finished to retrieve that variable in the Scilab workspace.

    Properties : Type 'str' of size 1.

  • Inherit (no:0, yes:1)

    Options to choose event inheritance from regular input or from explicit event input (0).

    Properties : Type 'vec' of size 1.

Default properties

  • always active: no

  • direct-feedthrough: no

  • zero-crossing: no

  • mode: no

  • regular inputs:

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

  • number/sizes of activation inputs: 1

  • number/sizes of activation outputs: 0

  • continuous-time state: no

  • discrete-time state: no

  • object discrete-time state: no

  • name of computational function: tows_c

Interfacing function

  • SCI/modules/scicos_blocks/macros/Sinks/TOWS_c.sci

Computational function

  • SCI/modules/scicos_blocks/src/c/tows_c.c (Type 4)

Example

Report an issue
<< SCALE_CSCOPE Sinks palette TRASH_f >>

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:
Mon Jan 03 14:23:40 CET 2022