Difference between revisions of "Developer FAQ"
(Add Category:Development some extensions.)
|Line 26:||Line 26:|
Revision as of 22:47, 10 June 2020
How can I find which file implements a given command?
From within Octave, use
>> which help
'help' is a function from the file /some/path/m/help/help.m
If the desired function is a m-file, one can simply edit it inside the GUI, just type:
>> edit help
Some functions are already compiled (a.k.a. built-in functions), for example:
>> which addpath
'addpath' is a built-in function from the file libinterp/corefcn/load-path.cc
This function is to be found in Octave's source code, in this case at .
If the source code is cloned to a local machine, you can edit the repective file and search for something like "