Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - English

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

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Advanced functions > macr2tree

macr2tree

function to tree conversion

Calling Sequence

t=macr2tree(function_name)

Arguments

function_name

a Scilab macro

t

a Scilab "tree"

Description

This primitive converts a compiled Scilab function function_name into a tree (nested tlists) which codes the internal representation of the function. For use with tree2code.

Examples

tree=macr2tree(cosh);
txt=tree2code(tree,%T);
write(%io(2),txt,'(a)');

See Also

  • tree2code — generates ASCII definition of a Scilab function
Report an issue
<< macr2lst Advanced functions macro >>

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:47:02 CEST 2014