1
.TH string 1 "April 1993" "Scilab Group" "Scilab Function"
4
string - conversion to string
8
[out,in,text]=string(x)
13
: real matrix or function
15
converts a matrix into a matrix of strings.
17
If \fVx\fR is a function \fV[out,in,text]=string(x)\fR returns
18
three vectors strings : \fVout\fR is the vector of output variables,
19
\fVin\fR is the vector of input variables, and \fVtext\fR is
20
the (column) vector of the source code of the function.
22
If \fVx\fR is a \fVlib\fR variable, text is a character string column
23
vector. The first element contains the path of library file and the
24
other the name of functions it defines.
26
Character strings are defined as \fV'string'\fR (between quotes) or
27
\fV"string"\fR (between doublequotes);
28
matrices of strings are defined as usual constant matrices.
30
Concatenation of strings is made by the \fV+\fR operation.
34
deff('y=mymacro(x)','y=x+1')
35
[out,in,text]=string(mymacro)
36
x=123.356; 'Result is '+string(x)
39
part, length, quote, evstr, execstr, strsubst, strcat, strindex, sci2exp