Scilab 6.1.0
      
      
    Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
getenv
環境変数の値を取得
呼び出し手順
env=getenv(str [, rep] )
パラメータ
- str
- 環境変数の名前を指定する文字列 
- rep
- オプションの文字列. このオプションの値を使用する時, 関数 - getenvは,環境変数- strが見つからない場合に値- repを返します.
- env
- 環境変数の値を有する文字列 
説明
指定した環境変数が存在する場合,その値を返します.
例
getenv('SCI') getenv('FOO','foo')
| Report an issue | ||
| << OS_commands | OS_commands | getpid >> |