Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab Help >> Advanced functions > bytecode


given a function returns the "bytecode" of a function in a Scilab array and conversely.

Calling Sequence

x = bytecode(f)
f = bytecode(x)



A Scilab function.


an int32 row vector


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.


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.


function a=foo(),a=sin(3),endfunction

See Also

Report an issue
<< argn Advanced functions bytecodewalk >>

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:
Wed Apr 01 10:14:07 CEST 2015