Unfortunately there are times we are forced to work on Windows machines.
C:\Program Files\Octave_\share\octave\2.9.13\m\startup
Add the line addpath(genpath("H:/masters/dev/matlab")); To the file octaverc
Old instructions for octave 2.1
The octaverc file in the default 2.1.73 installation is in
C:\Program Files\GNU Octave 2.1.73\usr\share\octave\2.1.73\m\startup
To the file, add the line
addpath("/cygdrive/h/masters/dev/matlab//");
Note that octave will take longer to start up while it indexes the contents of all the subfolders of the directory. The // on the end means to add all subdirectories to the path.