help-octave
[Top][All Lists]
Advanced

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

Re: Console to text editor to go


From: Michael Grossbach
Subject: Re: Console to text editor to go
Date: Thu, 15 Jan 2009 09:55:41 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

You type
>>edit myfunction
in Octave which opens the editor Scite. In the editor you edit whatever you want to have in your function file, and save it as myfunction.m in a folder on the octave path. IIRC you're using Octave on Windows, so %USERPROFILE%\octave would be a suitable folder (type echo %USERPROFILE% in a cmd window to find out what the Windows variable %USERPROFILE% resolves to on your system). After saving you can run myfunction from Octave by typing at the prompt
>>myfunction

HTH, Michael

Frigyes Reisch wrote:
How?   Fr


----- Original Message ----- From: "Michael Grossbach" <address@hidden>
To: "Frigyes Reisch" <address@hidden>
Cc: <address@hidden>
Sent: Thursday, January 15, 2009 8:03 AM
Subject: Re: Console to text editor to go


Frigyes Reisch wrote:
Hello,

I am new to octave. After download I gat to console version and I was able to run the examples. When I go to SciTex the run option is not enlighted, so I cannot run Octave from there. Can you please advise
You use the editor for editing your m files and the console to run them.
HTH, Michael






reply via email to

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