help-octave
[Top][All Lists]
Advanced

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

Re: Conversion from Scilab


From: Gary Nelson
Subject: Re: Conversion from Scilab
Date: Fri, 14 May 2010 17:13:07 -0700

OK, typed help edit and get this (and lots more)

.....

 `editor'
         This is the editor to use to modify the functions.  By
         default it uses Octave's `EDITOR' built-in function, which
         comes from `getenv("EDITOR")' and defaults to `emacs'.  Use
         `%s' In place of the function name.  For example,
        `[EDITOR, " %s"]'
              Use the editor which Octave uses for `bug_report'.

        `"xedit %s &"'
              pop up simple X11 editor in a separate window

        `"gnudoit -q \"(find-file \\\"%s\\\")\""'
              Send it to current Emacs; must have `(gnuserv-start)' in
              `.emacs'.

However, when I ask for editor, I get this

octave-3.2.3:2> editor
error: `editor' undefined near line 2 column 1
octave-3.2.3:2> 

I downloaded and installed emacs, but have not been able to do anything useful with it and can't yet see how it interacts with octave.

I don't have any specific preference for an editor -- just want to get busy doing something useful

Thanks
Gary 

On May 14, 2010, at 4:08 PM, Ben Abbott wrote:


On May 14, 2010, at 6:36 PM, Gary Nelson wrote:

Greetings,
I have a MacBookPro with SnowLeopard with octave 3.2.3 installed and working in terminal mode.

I have developed a system of signal analysis tools using scilab and would like to port them to octave.

In scilab, I can invoke an editor from the command line and then cause the text window to be executed.

Is there an equivalent in Octave?

Somehow, I need to make a library with a collection of functions.

Thanks for the help


Gary Nelson
address@hidden

Type the following ...

help edit

If you can tell me what editor you'd like to use, I/we can be more help.

Ben



Gary Nelson




reply via email to

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