Name

get_absolute_file_path — Given an absolute pathname of a file opened in scilab.

Calling Sequence

pathname = get_absolute_file_path(filename)

Parameters

filename

A character string : filename

pathname

A character string : the absolute pathname

Description

Given the absolute pathname of a file already opened in scilab.

if file not opened , it will return current directory path.

Examples

a=mopen(TMPDIR+'test.sce','wt');
get_absolute_file_path('test.sce');
mclose(a);

See Also

getshortpathname , getlongpathname , getcwd

Authors

Allan CORNET