[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie questions...
From: |
Jun Ohta |
Subject: |
Re: Newbie questions... |
Date: |
Thu, 18 Aug 2005 15:48:45 +0900 |
Hello,
'edit' function uses the following M-file:
"/opt/octave/share/octave/2.1.50/site/m/octave-forge/miscellaneous/edit.m".
I hadn't used this function on MS windows. But, I tried to use it there. It
seemed to
generate M-file names with path for the default editor. But, the resulting file
names wih
path seemed to be suitable for editors on cygwin (not suitable for notepad on
MS windows).
I usually edit M-files from Explorer on MS windows.
If your m-files are put in "c:\octave", you can use those functions after the
following
command.
path( [':/cygdrive/c/octave//'] )
To conduct the above command at every octave startup, I use an ".octaverc" or
"octaverc"
file which have the above command line. See your manual (HTML) for "Startup
Files" in
"Getting Started".
Jun Ohta
Okayama University
address@hidden wrote:
>
>I'm using Octave 2.1.50 (installed with one click)....and am having the sort
>of problems one encounters with a new system.... I'm an experienced MATLAB
>user....and am now trying to get up to speed (about 5 mph) with Octave...
>
>1...I can't get the edit function to work.... I found the DEFAULT_LOADPATH
>variable and some m-libraries, and can use Notepad to create an m-file
>function
> in one of these libraries and this works OK, Octave finds the function when
>I execute it, but edit(fun) ...where fun is the function name... generates a
>slew of errors. So, how does one use edit ????? Where should one put
>m-files, etc.
>
>2. A simple plot has a Line1 and a red line in the upper right
>corner....can that be omitted ...
>
>
>Thanks,
>WDF
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------