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

Change language to:
English - Français - Português - Русский

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

Scilab help >> Files : Input/Output functions > %io

%io

標準入力および標準出力を返す変数 (ファイルディスクリプタ).

呼び出し手順

%io(1)
%io(2)

説明

%io(1) は標準入力を返します (ファイルディスクリプタ 5).

%io(2) は標準出力を返します (ファイルディスクリプタ 6).

ファイルディスクリプタ 0 は標準エラーです.

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()
Report an issue
<< getmd5 Files : Input/Output functions isfile >>

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:
Tue Apr 02 17:37:33 CEST 2013