Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Русский - 日本語
Ajuda do Scilab >> Arquivos : funções de Entrada/Saída > Paths - Filenames > fileext

fileext

returns extension for a file path

Syntax

extension = fileext(fullpath)

Arguments

fullpath

a string matrix, the given file path.

extension

a string matrix, the extension part is any or ''.

Description

extension = fileext(fullpath) splits the fullpath character string in the extension part including the dot.

Examples

extension = fileext('SCI/etc/scilab.start')
extension = fileext(['SCI/etc/scilab.start';'SCI/etc/scilab.quit'])

See Also

  • fileparts — returns the path, filename and extension for a file path
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:34:44 CEST 2016