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 >> Functions > macrovar

macrovar

関数の変数

呼び出し手順

vars=macrovar(function)

パラメータ

vars

リスト list(in,out,nolocal,called,locals)

function

関数名

説明

関数で使用される変数の集合のリストを返します. vars は5つの文字列の列ベクトルからなる リストです.

in 入力変数 (vars(1))

out 出力変数 (vars(2))

nolocalreferenced variables which 関数内で定義されていない関数でない変数を参照 (vars(3))

called コールされた関数の名前 (vars(4))

locals ローカル変数 (vars(5))

deff('y=f(x1,x2)','loc=1;y=a*x1+x2-loc')
vars=macrovar(f)

参照

  • string — 文字列に変換
  • macr2lst — リスト変換用の関数
<< macro Functions recompilefunction >>

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:01:00 CET 2011