Navigation

Operators and Keywords

Function List:

C++ API

: mfilename ()
: mfilename ("fullpath")
: mfilename ("fullpathext")

Return the name of the currently executing file.

When called from outside an m-file return the empty string.

Given the argument "fullpath", include the directory part of the filename, but not the extension.

Given the argument "fullpathext", include the directory part of the filename and the extension.

Package: octave