1
string Scilab Group Scilab Function string
3
string - conversion to string
7
[out,in,text]=string(x)
9
x : real matrix or function
12
converts a matrix into a matrix of strings.
14
If x is a function [out,in,text]=string(x) returns three vectors
15
strings : out is the vector of output variables, in is the vector of
16
input variables, and text is the (column) vector of the source code of
19
If x is a lib variable, text is a character string column vector. The
20
first element contains the path of library file and the other the name
21
of functions it defines.
23
Character strings are defined as 'string' (between quotes) or "string"
24
(between doublequotes); matrices of strings are defined as usual constant
27
Concatenation of strings is made by the + operation.
31
deff('y=mymacro(x)','y=x+1')
32
[out,in,text]=string(mymacro)
33
x=123.356; 'Result is '+string(x)
35
part, length, quote, evstr, execstr, strsubst, strcat, strindex, sci2exp