Scilab 5.4.1
- Ajuda Scilab
- Funções
- Built-in & external
- Libraries
- profiling
- argn
- bytecode
- bytecodewalk
- comp
- deff
- edit
- exec
- execstr
- fun2string
- funcprot
- function
- functions
- getd
- head_comments
- listfunctions
- macr2lst
- macr2tree
- macro
- macrovar
- mode
- overloading
- recompilefunction
- sciargs
- tree2code
- varargin
- varargout
- code2str
- str2code
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
macrovar
variáveis de uma função
Seqüência de Chamamento
vars=macrovar(function)
Parâmetros
- vars
list
list(in,out,globals,called,locals)- function
nome de uma função
Descrição
Retorna em uma lista o conjunto de variáveis utilizadas por uma
função. vars é uma lista feita de cinco vetores colunas
de strings
in variáveis de entrada
(vars(1))
out variáveis de saída
(vars(2))
globals variáveis globais
(vars(3))
called nomes de funções chamadas
(vars(4))
locals variáveis locais
(vars(5))
Exemplos
deff('y=f(x1,x2)','loc=1;y=a*x1+x2-loc') vars=macrovar(f)
Ver Também
| Report an issue | ||
| << macro | Funções | mode >> |