- Scilab help
- Функции
- Встроенные и внешние
- Libraries
- profiling
- argn
- comp
- edit
- funcprot
- macr2lst
- macr2tree
- mode
- sciargs
- bytecode
- bytecodewalk
- code2str
- deff
- exec
- execstr
- fun2string
- function
- functions
- getd
- head_comments
- listfunctions
- 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.
However, this page did not exist in the previous stable version.
bytecode
given a function returns the "bytecode" of a function in a Scilab array and conversely.
Calling Sequence
x = bytecode(f) f= bytecode(X)
Arguments
- f
A scilab function.
- x
an int32 row vector
Description
x= bytecode(f)
returns the "bytecode" of
the function f
in the Scilab integer array
x
.
f= bytecode(x)
returns in
f
the function associated with the
"bytecode" given in the Scilab integer array
x
. Warning the validity of
x
is not checked.
Remark
The bytecode of Scilab function will evolve drastically in the future, So the use of this function should be restricted to the profiling instruction handling.
Examples
function a=foo(),a=sin(3),endfunction bytecode(foo)
See Also
- add_profiling — Adds profiling instructions to a function.
- bytecodewalk — walk in function bytecode applying transformation.
- macr2lst — преобразование функции в список
- macr2tree — преобразование функции в дерево
Report an issue | ||
<< sciargs | Функции | bytecodewalk >> |