Scilab 6.1.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
sciargs
scilab コマンドライン引数
呼出し手順
args = sciargs()
説明
この関数は、Scilabコマンドライン引数を含む 文字列の列ベクトルを返します.
args
の最初のエントリには,
実行された実行ファイルのパスが含まれます.
この関数はC言語のgetarg
関数と等価です.
例
While the current Scilab session has been opened through the command
C:\Users\Me> C:\SCIdir\bin\scilab -nw -nb -noatomsautoload -args "Hello %USERNAME%" \"%cd%\"
we then get
a = sciargs()
--> a = sciargs() a = ! c:\SCIdir\bin\WScilex-cli.exe ! ! -nb ! ! -noatomsautoload ! ! -args ! ! Hello John ! ! "C:\Users\Me" !
Let's note that in scilab -nw the "-nw" option is used by
the scilab batch file to route the call to
WScilex-cli.exe , without forwarding "-nw". Therefore, this one
is not returned by sciargs() . |
履歴
Version | Description |
6.0.0 | A column is returned, instead of formerly a row. |
Report an issue | ||
<< recursionlimit | Configuration | ver >> |