fullpath — Creates an full path name for the specified relative path name.
res = fullpath(relative_path)
a string
Creates an full path name for the specified relative path name.
On linux 'relative_path' needs to exist.
mkdir(TMPDIR+'/niv1'); mkdir(TMPDIR+'/niv1/niv2'); mputl(' ',TMPDIR+'/niv1/test.txt'); cd(TMPDIR+'/niv1/niv2'); fullpath('../test.txt')