- Aide de Scilab
- Chaînes de caractères
- asciimat
- eval
- evstr
- isnum
- string
- ascii
- blanks
- char
- convstr
- emptystr
- grep
- isalphanum
- isascii
- isdigit
- isletter
- justify
- length
- part
- regexp
- sci2exp
- strcat
- strchr
- strcmp
- strcmpi
- strcspn
- strindex
- strings
- stripblanks
- strncpy
- strrchr
- strrev
- strsplit
- strspn
- strstr
- strsubst
- strtod
- strtok
- tokenpos
- tokens
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
sci2exp
converts an expression to a string
Calling Sequence
t = sci2exp(a [,nam] [,lmax])
Arguments
- a
a scilab expression, may be:
- -
a constant;
- -
a polynomial;
- -
a string matrix;
- -
a list;
- -
a boolean matrix;
- -
a handle (only figure and uicontrol).
- nam
a character string.
- t
a vector of strings, contains the expression or the affectation instruction.
- lmax
an integer, contains the maximum line length. Default value is
0
, which indicates no line length control; a single string is returned.
Description
sci2exp
converts expression to an instruction string if nam
is
given or to an expression string.
Remarks
If
a
is a handle,sci2exp
gives a result which has no hierarchical links, that is, with empty fields for parent and children.t
can be impacted by format.
Examples
See Also
- prettyprint — From any Scilab datatype and provide a representation to the TeX, LaTeX or MathML formats
- format — number printing and display format
Report an issue | ||
<< regexp | Chaînes de caractères | strcat >> |