<< HDF5 files
Scilab Help
Input/Output functions >>
Scilab Help
>> Files : Input/Output functions
Files : Input/Output functions
Directory
cd
—
changes Scilab current directory
createdir
—
makes new directory
dir
—
gets file list
isdir
—
checks that a path points to an existing directory
ls
—
shows files
mkdir
—
makes a new directory
pwd
—
gets Scilab current directory
removedir
—
removes a directory
rmdir
—
removes a directory
file_system
copyfile
—
copies a file
deletefile
—
deletes a file
fileinfo
—
provide information about some files of any type
findfiles
—
finding all files with a given file specification
isfile
—
checks whether argument is an existing file
listfiles
—
list of files
mdelete
—
deletes file(s)
movefile
—
moves file or directory
newest
—
returns newest file of a set of files
Paths - Filenames
basename
—
strip directory and suffix from filenames
dirname
—
gets directory from filenames
(obsolete)
fileext
—
returns extension for a file path
fileparts
—
returns the path, filename and extension for a file path
filesep
—
returns directory separator for current platform
fullfile
—
builds a full filename from parts
fullpath
—
creates an full path name for the specified relative path name.
get_absolute_file_path
—
gives an absolute pathname of a file opened in Scilab
getdrives
—
gets the drive letters of all mounted filesystems on the computer
getlongpathname
—
gets long path name
getrelativefilename
—
given absolute directories and absolute filenames, returns relative file names
getshortpathname
—
gets short path name
is_absolute_path
—
checks if argument is an absolute path
pathconvert
—
converts a path to an OS path format.
pathsep
—
returns path separator for current platform
splitURL
—
Split an URL (HTTP, HTTPS, FTP...)
tempname
—
creates a file with an unique filename
dispfiles
—
displays properties of opened files
fprintfMat
—
writes a matrix in a file
fscanfMat
—
reads a matrix from a text file
getURL
—
Download an URL (HTTP, HTTPS, FTP...)
getmd5
—
get md5 checksum
%io
—
protected variable providing ids of the standard input and standard output
listvarinfile
—
lists variables stored in a binary archive (names, types, sizes..)
mclearerr
—
resets binary file access errors
mclose
—
closes an opened file
meof
—
checks if end of file has been reached
merror
—
tests the file access errors indicator
mfprintf
—
converts, formats, and writes data to a file
msscanf
—
reads its input from the character string (interface to the C sscanf function)
mgeti
—
reads byte or word in a given binary format and returns an int type
mgetl
—
reads lines from an text file
mgetstr
—
reads a character string from a file
mopen
—
opens a file in Scilab
mput
—
writes byte or word in a given binary format
mputl
—
writes strings in a text file
mputstr
—
writes a character string in a file
mseek
—
sets current position in a binary file
mtell
—
Returns the offset of the current byte relative to the beginning of a file
save format
—
format of files produced by "save"
scanf
—
converts formatted input on standard input
scanf_conversion
—
mscanf, msscanf, mfscanf conversion specifications
Report an issue
<< HDF5 files
Scilab Help
Input/Output functions >>