Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function
Load a saved variable or a serie of variables
character string containing the path of the file
a file descriptor given by a call to mopen
arbitrary Scilab variable name(s) given as strings.
load command can be used to reload in the
Scilab session variables previously saved in a file with the
command. If the file contains graphic handle
variables, the corresponding graphics_entities are drawn.
load(filename) loads the variables saved in file
given by its path
load(fd) loads the variables saved in file given
by its descriptor
fd. This prototype is obsolete and will be removed in Scilab 6.
load(filename,'x','y') loads only variables
load(fd,'x','y') loads only variables
x,y. This prototype is obsolete and will be removed in Scilab 6..
The change of format between the family 5 and 6 of Scilab has been decided because the 5 format is undocumented, not specified and hard to read. SOD (Scilab 6 default format) is fully documented and easy to read through HDF5 libraries or applications.
Note that the written file is portable to other operating systems and architectures (little and big endian).
- save — Save a variable or a serie of variables in a binary file
- read — matrices read
- listvarinfile — list of variables in a saved data file
- save_format — format of files produced by "save"
- exec — script file execution
- mopen — opens a file in Scilab
|5.0.0||All uimenu or uicontrol handles are also loaded by this function.|
|Report an issue|
|<< input||Input/Output functions||read >>|