Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.1. 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
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:34:57 CEST 2012