Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Files : Input/Output functions > fullpath

fullpath

Creates an full path name for the specified relative path name.

Calling Sequence

res = fullpath(relative_path)

Arguments

res

a string

relative_path

a string

Description

Creates an full path name for the specified relative path name.

On linux 'relative_path' needs to exist.

Examples

mkdir(TMPDIR+'/niv1');
mkdir(TMPDIR+'/niv1/niv2');
mputl(' ',TMPDIR+'/niv1/test.txt');
cd(TMPDIR+'/niv1/niv2');
fullpath('../test.txt')

Authors

  • A.C
<< fullfile Files : Input/Output functions get_absolute_file_path >>

Copyright (c) 2022-2023 (Dassault Systèmes)
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:
Wed Oct 05 12:09:59 CEST 2011