~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/strings/string.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
string            Scilab Group            Scilab Function            string
2
 
NAME
3
 
   string - conversion to string
4
 
  
5
 
CALLING SEQUENCE
6
 
 string(x)
7
 
 [out,in,text]=string(x)
8
 
PARAMETERS
9
 
 x    : real matrix or function
10
 
      
11
 
DESCRIPTION
12
 
   converts a matrix into a matrix of strings.
13
 
  
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
17
 
  the function.
18
 
  
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.
22
 
  
23
 
   Character strings are defined as 'string' (between quotes) or "string"
24
 
  (between doublequotes); matrices of strings are defined as usual constant
25
 
  matrices.
26
 
  
27
 
   Concatenation of strings is made by the + operation.
28
 
  
29
 
EXAMPLES
30
 
 string(rand(2,2))
31
 
 deff('y=mymacro(x)','y=x+1')
32
 
 [out,in,text]=string(mymacro)
33
 
 x=123.356; 'Result is '+string(x)
34
 
SEE ALSO
35
 
   part, length, quote, evstr, execstr, strsubst, strcat, strindex, sci2exp 
36
 
    
37