Scilab 5.4.1
- Aide Scilab
- Fonctions avancées
- Built-in & external
- Libraries
- profiling
- argn
- bytecode
- bytecodewalk
- comp
- exec
- execstr
- function
- functions
- getd
- macr2tree
- mode
- sciargs
- code2str
- deff
- edit
- fun2string
- funcprot
- head_comments
- listfunctions
- macr2lst
- macro
- macrovar
- overloading
- recompilefunction
- str2code
- tree2code
- varargin
- varargout
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
macrovar
variables of function
Calling Sequence
vars=macrovar(function)
Arguments
- vars
list
list(in,out,nolocal,called,locals)
- function
name of a function
Description
Returns in a list the set of variables used by a function.
vars
is a list made of five column vectors of character strings
in
input variables (vars(1)
)
out
output variables (vars(2)
)
nolocal
referenced variables which are not defined inside the function and which are not functions (vars(3)
)
called
names of functions called (vars(4)
)
locals
local variables (vars(5)
)
Examples
deff('y=f(x1,x2)','loc=1;y=a*x1+x2-loc') vars=macrovar(f)
Report an issue | ||
<< macro | Fonctions avancées | overloading >> |