Files : Input/Output functions


Table of Contents

basename — strip directory and suffix from filenames
copyfile — Copy file
createdir — Make new directory
deletefile — delete a file
dir — get file list
dirname — get directory from filenames
dispfiles — display opened files properties
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
findfiles — Finding all files with a given filespec
fprintf — Emulator of C language fprintf function
fprintfMat — Write a matrix in a file.
fscanf — Converts formatted input read on a file
fscanfMat — Reads a Matrix from a text file.
fullfile — Build a full filename from parts
fullpath — Creates an full path name for the specified relative path name.
getdrives — Get the drive letters of all mounted filesystems on the computer.
getlongpathname — get long path name (Only for Windows)
getshortpathname — get short path name (Only for Windows)
isdir — checks if argument is a directory path
listfiles — list files
listvarinfile — list the contents of a saved data file
ls — show files
maxfiles — sets the limit for the number of files a scilab is allowed to have open simultaneously.
mclearerr — reset binary file access errors
mclose — close an opened file
mdelete — Delete file(s)
meof — check if end of file has been reached
merror — tests the file access errors indicator
mscanf — reads input from the standard input (interface to the C scanf function) — reads input from the stream pointer stream (interface to the C fscanf function) — reads its input from the character string (interface to the C sscanf function)
mget — reads byte or word in a given binary format and convert to double — reads byte or word in a given binary format return an int type
mgetl — read lines from an ascii file
mgetstr — read a character string
mkdir — Make new directory
mopen — open a file
mfprintf — converts, formats, and writes data to a file — converts, formats, and writes data to the main scilab window — converts, formats, and writes data in a string
mput — writes byte or word in a given binary format
mputl — writes strings in an ascii file
mputstr — write a character string in a file
mseek — set current position in binary file.
mtell — binary file management
pathconvert — pathnames convertion between posix and windows.
pathsep — returns path separator for current platform
removedir — Remove a directory
rmdir — Remove a directory
save_format — format of files produced by "save"
scanf — Converts formatted input on standard input
scanf_conversion — scanf, sscanf, fscanf conversion specifications