Scilab Website | Contribute with GitLab | Scilab Community | ATOMS toolboxes
Scilab Online Help
2023.0.0 - English


Paths - Filenames

  • basename — strip directory and suffix from filenames
  • 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 — provides the path separator used in the PATH environment variable of the current OS.
  • splitURL — Split an URL (HTTP, HTTPS, FTP...)
  • tempname — creates a file with an unique filename
Report an issue
<< file_system Files : Input/Output functions dispfiles >>

Copyright (c) 2022-2026 (Dassault Systèmes S.E.)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Mar 27 11:52:45 GMT 2023