File: load.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (39 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
load             Scilab Group             Scilab Function              load
NAME
   load - load saved variable
  
CALLING SEQUENCE
 load(filename [,x1,...,xn])
 load(fd [,x1,...,xn])
PARAMETERS
 filename   : character string containing the path of the file
            
 fd         : a file descriptor given by a call to mopen
            
 xi         : arbitrary Scilab variable name(s) given as strings.
            
DESCRIPTION
   The load command can be used to reload in the Scilab session variables
  previously saved in a file with the save command.  
  
   load(filename) loads the variables saved in file given by its path
  filename. 
  
   load(fd) loads the variables saved in file given by its descriptor fd.  
  
   load(filename,'x','y') or load(fd,'x','y') loads only variables x,y.  
  
COMPATIBLITY
   Even if the binary file format has changed with 2.5 version,
  load(filename,...) is able to read old format files. Previous file format
  can be accessed for a while using function oldsave ans oldload.  
  
EXAMPLES
 a=eye(2,2);b=ones(a);
 save('vals.dat',a,b);
 clear a
 clear b
 load('vals.dat','a','b');
SEE ALSO
   save, getf, mopen