octave-maintainers
[Top][All Lists]
Advanced

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

Re: Yet another thread on Octave on Windows.


From: Paul Kienzle
Subject: Re: Yet another thread on Octave on Windows.
Date: Fri, 14 Jan 2005 06:31:57 -0500

Ole,

There is a command line flag to force octave into interactive mode.
For some reason, rxvt on msys makes octave act like it is operating
without a terminal.

- Paul

On Jan 14, 2005, at 3:59 AM, Ole Jacob Hagen wrote:

Hi,

I found the source-function, and used it. But this is not practical usage, since Octave should handle it's own m-files and oct-files all by it self. Which file/class handles this behaviour? I guess it's the kpathsea-files for path, but which class/files handles the loading of m-files and oct-files?
I'll  take one more look at the kpathsea-files?
BTW, which classes/files are using kpathsea functionality?


I don't get the octave-prompt, when I start Octave from MinGW (MSYS) prompt, but I get it, when I start Octave from cmd (dos). MSYS package works pretty much in the same way as Cygwin. Actually it looks like a mini-Cygwin, since it is mounting partition in the same way as Cygwin does. Just take a look:

address@hidden /d/Octave/OctaveBin/bin
$ mount
C:\DOCUME~1\oleha\LOCALS~1\Temp on /tmp type user (binmode,noumount)
D:\msys\1.0\bin on /usr/bin type user (binmode,cygexec,noumount)
D:\msys\1.0\bin on /bin type user (binmode,cygexec,noumount)
D:\msys\1.0 on / type user (binmode,noumount)
D:\msys\1.0 on /usr type user (binmode,noumount)
d:\MinGW on /mingw type user (binmode)
a: on /a type user (binmode,noumount)
c: on /c type user (binmode,noumount)
d: on /d type user (binmode,noumount)
e: on /e type user (binmode,noumount)

Cheers,

Ole J.

Laurent Mazet wrote:

On Thu, 13 Jan 2005 14:07:44 +0100
Ole Jacob Hagen <address@hidden> wrote:

Hi.

I have compiled Octave-2.1.64 with MinGW (gcc-3.2.3), and it starts up.

However, the path's is not correct, since functions like lu, qr, plot are not found by Octave.
I guess this is a kpathsea related error?

How can I solve this?


You have to source the associate .m file. For example:

source("/usr/share/octave/2.1.60/m/plot/plot.m")

--
Laurent Mazet: Research Engineer /V\ Centre de Recherche de MOTOROLA
Tel: +33 (0)1 69 35 48 30 =-=-=-=-=-=-=-=-=-=-= Email: address@hidden







reply via email to

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