Scilab 6.0.0
Aide de Scilab >> Fonctions avancées > tree2code
tree2code
generates ASCII definition of a Scilab function
Syntax
txt = tree2code(tree, prettyprint)
Arguments
- tree
a macro tree (coming from
macr2tree
).- prettyprint
an optional boolean value:
- %T
generated code is indented and beautified
- %F
generated code is not beautified (default)
- txt
a column vector of strings, the text giving the Scilab instructions.
Description
Given a loaded Scilab function "tree" (returned by macr2tree
), tree2code
allows to
re-generate the code.
See Also
- macr2tree — conversion d'une fonction en arbre
Comments
Add a comment:
Please login to comment this page.