recompiles a scilab function, changing its type
recompilefunction(funname) recompilefunction(funname, kind) recompilefunction(funname, kind, force)
string, name of the function to recompile
string: "n" (noncompiled, type 11), "c" (compiled, type 13) or "p" (compiled, type 13, with provision for profiling). Default "c".
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).
This function reverse-compiles a function variable via fun2string, and recompiles it to the desired kind with deff.
Version | Description |
5.5.2 | recompilefunction was removed after Scilab 5.5.2. |