help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave on Windows


From: Michael Grossbach
Subject: Re: Octave on Windows
Date: Sun, 29 Jun 2008 19:00:40 +0200
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Divakar Ramachandran wrote:
Is there someplace where the Windows specific directories / folders are
described? I have been looking for info on the correct place to put the
startup commands which on Linux / Unix systems go into .octave. By trial
and error I have found that the file .octaverc is read and executed on
startup on WinXP when placed directly at Documents and Settings\Username
though there is a empty folder named octave at this location. Further,
it is impossible to create a file named .octaverc through Win Explorer.
I created a file octaverc using the GUI and subsequently renamed it
to .octaverc using the command-line.


To my knowledge there no such place but the mail archives where you can probably get all the information you need. There's not much difference though to the described *nix way. The function edit looks for a folder named octave in your %USERPROFILE% (to find out what the system variable %USERPROFILE% contains, open a command window and type echo %USERPROFILE%) and creates it if it doesn't exist. That's the place where all your user-defined functions go by default. Put your .cotaverc into the same folder (that's %USERPROFILE%, not %USERPROFILE%\octave !) in which you can then change the default path to save your user-defined functions, e.g.:

mypath = "D:\myOctavefcns";
addpath(genpath(mypath))


HTH, Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]