Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Português

Change language to:
English - Français - 日本語 -

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.

Manual Scilab >> Funções > bytecode

bytecode

dada uma função, retorna "bytecode" (código de bytes) da função em um array Scilab e vice-versa.

Seqüência de Chamamento

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

Parâmetros

f

função Scilab

x

vetor linha int32

Descrição

x = bytecode(f)retorna o "bytecode" da função f no array Scilab de inteiros x.

f = bytecode(x)retorna em f a função associada ao "bytecode" dado no array Scilab de inteiros x. AVISO: a validade de x não é verificada.

Observação

O bytecode da função Scilab evoluirá drasticamente no futuro, então o uso dessa função deve se restringir à manipulação de instruções de profiling.

Exemplos

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

Autor

  • Serge Steer, INRIA
<< profiling Funções 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 Jan 26 16:24:43 CET 2011