Scilab 5.5.2
- Aide de Scilab
- Fonctions avancées
- Built-in & external
- Libraries
- profiling
- argn
- bytecode
- bytecodewalk
- comp
- exec
- execstr
- function
- functions
- getd
- macr2tree
- macrovar
- mode
- sciargs
- code2str
- deff
- edit
- fun2string
- funcprot
- head_comments
- listfunctions
- macr2lst
- macro
- overloading
- recompilefunction
- str2code
- tree2code
- varargin
- varargout
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
fun2string
generates ASCII definition of a Scilab function
Calling Sequence
txt = fun2string(fun, name)
Arguments
- fun
a
function
type variable.- name
a character string, the generated function name.
- txt
a column vector of strings, the text giving the Scilab instructions.
Description
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.
See Also
Report an issue | ||
<< edit | Fonctions avancées | funcprot >> |