[Top][All Lists]

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

Re: Newbie questions...

From: Robert A. Macy
Subject: Re: Newbie questions...
Date: Wed, 17 Aug 2005 10:47:02 -0700

I use the 2.1.50 and have NEVER used edit function.  What's
it for?  

If you're trying to edit a script, or function file, don't
use notepad, use Sc1.exe from

It's really small, highlights, indents, etc.  It's useful
for C++, too.  

LOADPATH, I've never concurred this one either...
I put all my current scripts in some work folder that I get
to from a script file sitting in the default directory

C:\Program Files\GNU Octave 2.1.50\octave_files

called cdwork.m, which looks like this...
% Changes working directory to 
cd C:\AAA\Folder1\GovtLabs\Run01\

Note the "forward" slashes in the printed statement, else
the printing gets confused, I just use it to confirm where
I land.

Depending on which folder I'm working on that month, I
change the script appropriately

Everytime I start up octave I simply type cdwork, then I'm
whisked away to the working area.  

Every so often I double click on a batch file on the
desktop that checks for the archive bit to be set in *any*
of the working area files.  It then copies any changed file
to my "mirror" disk and clears each archive bit.  I am
amazed at how many files I change, or add, and forget
about.  This provides automatic backup feature that's
pretty effortless.  

GET RID OF Line ----
simply type in once 
>> gset nokey;
and it goes away.  

You could actually put that line in your cdwork.m and
always remove it.  Thanks, I'm going to go add that to mine

                - Robert -

On Wed, 17 Aug 2005 13:06:17 EDT
 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
> 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,

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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