[Top][All Lists]

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

Re: error: feval: function 'pkg.m' not found

From: Mike Miller
Subject: Re: error: feval: function 'pkg.m' not found
Date: Mon, 20 May 2019 12:00:05 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Mon, May 20, 2019 at 20:50:54 +0200, Kai Torben Ohlhus wrote:
> Unfortunately, I do not have a MS Windows system to test. But for
> reference, the attached program works on Linux (openSUSE 15.0), with Octave
> 5.1.0 and the OF package control 3.2.0 installed.
> To me it looks like your m-File directory is not loaded by the embedded
> interpreter to the search path.  To verify this, try to compile run the
> attached program, which tries to locate the "pkg.m" function by calling

If I had to guess, the problem on Windows is that the calling
environment doesn't set the OCTAVE_HOME environment variable. Note that
that variable is required on Windows for Octave to run correctly.


Attachment: signature.asc
Description: PGP signature

reply via email to

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