Scilab 6.0.1
      
      - Scilab Help
 - Files : Input/Output functions
 - Directory
 - Paths - Filenames
 - copyfile
 - deletefile
 - dispfiles
 - fileinfo
 - findfiles
 - fprintfMat
 - fscanfMat
 - getURL
 - getmd5
 - %io
 - isfile
 - listfiles
 - listvarinfile
 - mclearerr
 - mclose
 - mdelete
 - meof
 - merror
 - mfprintf
 - mfscanf
 - mget
 - mgetl
 - mgetstr
 - mopen
 - movefile
 - mput
 - mputl
 - mputstr
 - mseek
 - mtell
 - newest
 - save format
 - scanf
 - scanf_conversion
 
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
listvarinfile
list of variables in a saved data file
Syntax
listvarinfile(filename) [names, typs, dims, vols] = listvarinfile(filename)
Arguments
- filename
 a character string, the pathname of the file to be inspected.
- nams
 a matrix of strings, names of the variables saved in the file.
- dims
 a list, dimensions of the variables saved in the file.
- typs
 a numeric matrix, types of the variables saved in the file.
- vols
 a numeric matrix, size in bytes of the variables saved in the file.
Description
This utility function lists "a la whos" the variables contained in a Scilab data file produced by save.
![]()  | Hypermatrices are reported as plain mlists;
                rationals and state-spaces are reported as plain tlists;
                graphic handles are not recognized.  | 
Examples
See also
- whos — listing of variables in long form
 - save — Save a variable or a serie of variables in a binary file
 - load — Load a saved variable or a serie of variables
 - save_format — format of files produced by "save"
 - type — returns the type of a Scilab object
 
| Report an issue | ||
| << listfiles | Files : Input/Output functions | mclearerr >> | 
