generates ASCII definition of a Scilab function
txt = fun2string(fun, name)
a function
type variable.
a character string, the generated function name.
a column vector of strings, the text giving the Scilab instructions.
Given a loaded Scilab function pseudo-code fun2string
allows to
re-generate the code. The generated
code is indented and beautified.
The mechanism is similar, but simpler than the mfile2sci
one. It may
be adapted for syntax translations.