Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Files : Input/Output functions

Files : Input/Output functions

  • basenamestrip directory and suffix from filenames
  • chdirchanges Scilab current directory
  • copyfileCopy file
  • createdirMake new directory
  • deletefiledelete a file
  • dirget file list
  • dirnameget directory from filenames
  • dispfilesdisplay opened files properties
  • fileextreturns extension for a file path
  • fileinfoProvides information about a file
  • filepartsreturns the path, filename and extension for a file path
  • filesepreturns directory separator for current platform
  • findfilesFinding all files with a given filespec
  • fprintfEmulator of C language fprintf function
  • fprintfMatWrite a matrix in a file.
  • fscanfConverts formatted input read on a file
  • fscanfMatReads a Matrix from a text file.
  • fullfileBuild a full filename from parts
  • fullpathCreates an full path name for the specified relative path name.
  • get_absolute_file_pathGiven an absolute pathname of a file opened in scilab.
  • getdrivesGet the drive letters of all mounted filesystems on the computer.
  • getlongpathnameget long path name (Only for Windows)
  • getrelativefilenameGiven an absolute directory and an absolute filename, returns a relative file name.
  • getshortpathnameget short path name (Only for Windows)
  • percentiovariable returns standard input and standard output (file descriptor).
  • isdirchecks if argument is a directory path
  • isfilechecks if argument is a file
  • listfileslist files
  • listvarinfilelist the contents of a saved data file
  • lsshow files
  • maxfilessets the limit for the number of files a scilab is allowed to have open simultaneously.
  • mclearerrreset binary file access errors
  • mcloseclose an opened file
  • mdeleteDelete file(s)
  • meofcheck if end of file has been reached
  • merrortests the file access errors indicator
  • mfprintfconverts, formats, and writes data to a file
  • mfscanfreads its input from the character string (interface to the C sscanf function)
  • mgetreads byte or word in a given binary format return an int type
  • mgetlread lines from an text file
  • mgetstrread a character string from a file
  • mkdirMake new directory
  • mopenopen a file
  • movefileMove file or directory
  • mputwrites byte or word in a given binary format
  • mputlwrites strings in an ascii file
  • mputstrwrite a character string in a file
  • mseekset current position in binary file.
  • mtellbinary file management
  • newestreturns newest file of a set of files
  • pathconvertpathnames convertion between POSIX and windows.
  • pathsepreturns path separator for current platform
  • pwdget Scilab current directory
  • removedirRemove a directory
  • rmdirRemove a directory
  • save_formatformat of files produced by "save"
  • scanfConverts formatted input on standard input
  • scanf_conversionscanf, sscanf, fscanf conversion specifications
  • sscanfConverts formatted input given by a string
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu May 12 11:44:25 CEST 2011