Developer FAQ

From Octave
Jump to: navigation, search

1. How can I find which file implements a given command?

From within Octave, use 'which':

octave:1> which addpath
'addpath' is a built-in function from the file libinterp/corefcn/load-path.cc

While editing the file, the function definition can be found by searching for something like

(addpath,