Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - Français

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

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

Aide de Scilab >> Fonctions avancées > recompilefunction


recompiles a scilab function, changing its type

Calling Sequence

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.


for i=1:100; asinh(rand(100,100)); end

See Also

  • function — définition d'une fonction Scilab
  • deff — on-line definition of function
  • comp — pré-interprétation ou "compilation" de fonctions Scilab
  • fun2string — generates ASCII definition of a Scilab function
  • profile — Renvoie les résultats du profiling d'une fonction
Report an issue
<< overloading Fonctions avancées str2code >>

Copyright (c) 2022-2024 (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:
Thu Oct 02 13:54:44 CEST 2014