Setting the path in octave under windows

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

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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: