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 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()
<< getshortpathname Files : Input/Output functions 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:12:55 CEST 2011