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

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Input/Output functions > getenv

getenv

環境変数の値を取得

呼び出し手順

env=getenv(str [, rep] )

パラメータ

str

環境変数の名前を指定する文字列

rep

オプションの文字列. このオプションの値を使用する時, 関数 getenv は,環境変数 str が見つからない場合に値 rep を返します.

env

環境変数の値を有する文字列

説明

指定した環境変数が存在する場合,その値を返します.

getenv('SCI')
getenv('FOO','foo')
<< file Input/Output functions getio >>

Copyright (c) 2022-2023 (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:
Thu Mar 03 11:00:58 CET 2011