Navigation

Operators and Keywords

Function List:

C++ API

Built-in Function: mfilename ()
Built-in Function: mfilename ("fullpath")
Built-in Function: 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 file name, but not the extension.

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

Package: octave