Scilab 5.3.1
      
      
    Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
unix_x
シェル (sh) コマンドを実行, 出力はウインドウにリダイレクト
呼び出し手順
unix_x(cmd)
パラメータ
- cmd
 文字列
説明
shシェルで実行する文字列 cmd を Unix に送信します.
    標準出力はウインドウにリダイレクトされます.
	Unix実行エラーはトラップされます; *注意* 
	コマンドのリストを ";" で区切った場合,
	最後のシェルコマンドエラーのみが
	リポートされます.これは推奨されません.
例
if getos() == 'Windows' then unix_x("dir "+""""+WSCI+"modules\graphics\demos"+""""); else unix_x("ls $SCI/modules/graphics/demos"); end
参照
| << unix_w | Input/Output functions | writb >> |