Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - 日本語

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Xcos > palettes > Sinks palette > WFILE_f


Write to file

Block Screenshot


This block allows user to save data in a file, in formatted and binary mode. Each call to the block corresponds to a record in the file. Each record has the following form: where is the value of time when block is called and is the ith input value.

This block does not manage UTF filename.

The pair block is .

Dialog box

  • Input size

    a scalar. This fixes the input size.

    Properties : Type 'vec' of size 1.

  • Output file name

    a character string defining the path of the file.

    Properties : Type 'str' of size 1.

  • Output Format

    a character string defining the Fortran format to use or nothing for an unformatted (binary) write. If given, the format must began by a left parenthesis and end by a right parenthesis. example: .

    Properties : Type 'str' of size 1.

  • Buffer size

    To improve efficiency it is possible to buffer the input data. Write on the file is only done after eachBuffer size call to the block.

    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

  • number/sizes of activation inputs: 1

  • number/sizes of activation outputs: 0

  • continuous-time state: no

  • discrete-time state: yes

  • object discrete-time state: no

  • name of computational function: writef

Interfacing function

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

Computational function

  • SCI/modules/scicos_blocks/src/fortran/writef.f (Type 0)


Ramine Nikoukhah - INRIA

<< TRASH_f Sinks palette WRITEAU_f >>

Copyright (c) 2022-2023 (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 Oct 05 12:12:59 CEST 2011