- Scilab Help
- Advanced functions
- Built-in & external
Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
However, this page did not exist in the previous stable version.
scilab function compilation
a scilab function, not compiled (type 11)
flag with value 0 (default), 1 or 2.
comp(function) compiles the function
function. Compiled and interpreted functions are
equivalent but usually compiled functions are much faster. The functions
provided in the standard libraries are compiled.
The online definition as well as the short syntax of the commands
deff generate compiled
comp has to be used in very particular cases. To produce
uncompiled functions one must use exec or
deff with the option
opt==2 causes the function to be compiled "for profiling".
Note that now it is possible to add profiling instruction after
compilation using the add_profiling function.
opt==1 option was specific to code analysis purposes and
is now ignored, i.e treated as
Note: the compilation takes part "in place", i.e the original function is modified and no new object is created.
|Report an issue|
|<< code2str||Advanced functions||deff >>|