- Scilab Help
- Advanced functions
- Built-in & external
- Libraries
- profiling
- argn
- bytecode
- bytecodewalk
- code2str
- comp
- deff
- edit
- exec
- execstr
- fun2string
- funcprot
- function
- functions
- getd
- head_comments
- listfunctions
- macr2lst
- macr2tree
- macro
- macrovar
- mode
- overloading
- recompilefunction
- sciargs
- 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.
recompilefunction
recompiles a scilab function, changing its type
Calling Sequence
recompilefunction(funname [,kind [,force]])
Arguments
- funname
string, name of the function to recompile
- kind
string: "n" (noncompiled, type 11), "c" (compiled, type 13) or "p" (compiled, type 13, with provision for profiling). Default "c".
- force
boolean. If false, the function is recomplied only if its kind changes; if true, it is recompiled even if it keeps the same kind (notably useful to recompile a "p" function, to reset the profiling statistics).
Description
This function reverse-compiles a function variable via fun2string, and recompiles it to the desired kind with deff.
Examples
recompilefunction("asinh","p") for i=1:100; asinh(rand(100,100)); end showprofile(asinh)
See Also
- function — opens a function definition
- deff — on-line definition of function
- comp — scilab function compilation
- fun2string — generates ASCII definition of a Scilab function
- profile — Returns the profiling results of a function
Report an issue | ||
<< overloading | Advanced functions | sciargs >> |