[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: editing in octave 3.2.4
From: |
Daryl Lee |
Subject: |
Re: editing in octave 3.2.4 |
Date: |
Wed, 13 Jul 2011 16:35:25 -0600 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 |
On 7/13/2011 1:51 PM, john wrote:
Hi ,
dear members
I have a problem for editing in octave.
When I write "edit" in the original directory when I start octave,
I get the error message"cannot find entrypoint -wtof in msvcrt.dll.
I maked some plots in 2-and 3dim and saved this as ps files and Pdf files,no
problem.
I know I'm a beginner???
Kin regards
I just went through this recently, so it's fresh on my mind. My preferred
editor is gVim; you can adjust to your own taste.
1. First, in your Octave installation find the file that corresponds to
this one on my machine:
C:\Octave\3.2.4_gcc-4.4.0\share\octave\site\m\startup\octaverc
In that file, add the following:
setenv('HOME', 'c:\octave\local');
cd ~/
You should, of course, change the path to whatever you want your Octave home
directory to be. This is the directory that will be used for a simple
"edit" command, and where your local .octaverc file will go.
2. In that HOME directory, create a .octaverc file with this in it:
edit mode "async"
edit editor "C:\\Program Files (x86)\\Vim\\vim73\\gvim.exe %s"
# search path
addpath("~/octave");
The experts around here may refine this somewhat. I am a beginner, and
these tips are from Hansen, "GNU Octave Beginner's Guide."
--
Daryl Lee
www.daryllee.com
The unexamined life is not worth living. -- Socrates
The unlived life is not worth examining. -- Unknown