Scilab 5.5.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_w
シェル (sh) コマンドを実行, 出力をScilabウインドウにリダイレクトする
呼び出し手順
unix_w(cmd)
パラメータ
- cmd
 文字列
説明
shシェルで実行する文字列 cmd を Unixに送信します .
            標準出力はScilabウインドウにリダイレクトされます.
            Unix実行エラーはトラップされます; *注意* 
            コマンドのリストを ";" で区切った場合,
            最後のシェルコマンドエラーのみが
            リポートされます.これは推奨されません.
例
if getos() == 'Windows' then unix_w("dir "+'""'+WSCI+"\modules"+'""'); else unix_w("ls $SCI/modules"); end
参照
| Report an issue | ||
| << unix_s | Input/Output functions | unix_x >> |