Name

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

Calling Sequence

res = fullpath(relative_path)

Parameters

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