Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - Português

Change language to:
English - Français - 日本語 -

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

Ajuda Scilab >> Arquivos : funções de Entrada/Saída > %io

%io

variable returns standard input and standard output (file descriptor).

Calling Sequence

%io(1)
%io(2)

Description

%io(1) returns standard input (file descriptor 5).

%io(2) returns standard ouput (file descriptor 6).

file descriptor 0 is the standard error.

Examples

mfprintf(%io(2),'Scilab stdout (C)');
mfprintf(0,'Scilab stderr (C)');
write(%io(2),'Scilab stdout (Fortran)');
write(0,'Scilab stderr (Fortran');
[units,typ,names]=file()

See Also

  • write — Escrita em arquivo formatado
  • mfprintf — converts, formats, and writes data to a file
  • file — Gerenciamento de arquivos
<< getshortpathname Arquivos : funções de Entrada/Saída isdir >>

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 Oct 05 12:11:48 CEST 2011