Return the name that was typed at the shell prompt to run Octave.
If executing a script from the command line (e.g., octave foo.m
)
or using an executable Octave script, the program name is set to the
name of the script. See ‘Executable Octave Programs’, for an example of
how to create an executable Octave script.
See also: program_name.
Package: octave