help-octave
[Top][All Lists]
Advanced

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

Re: Help with Octave standalone


From: ashwin damle
Subject: Re: Help with Octave standalone
Date: Fri, 13 Mar 2020 05:08:50 +0530



On Thu, 20 Feb 2020 at 09:32, ashwin damle <address@hidden> wrote:


On Wed, 19 Feb 2020, 23:20 Mike Miller, <address@hidden> wrote:
On Wed, Feb 19, 2020 at 17:25:29 +0530, ashwin damle wrote:
> I am unable to run the interpreter from within a C++ program. I am using
> Windows 10 64 bit; GNU Octave version 5.2.0. Attached is the script I am
> using.

The attached program looks fine and works for me.

> error: 'fullfile' undefined near line 5 column 21
> error: called from
>     C:\Octave\Octave-5.2.0\mingw64\share\octave\site\m\startup/octaverc at
> line 5 column 1
> error: feval: function 'pkg' not found
> error encountered in Octave evaluator!

These errors clearly indicate that the default load path hasn't been
initialized properly, since all m-file functions are missing.

> I had a similar problem before which was solved by exporting the
> OCTAVE_HOME environment.

My guess remains the same as before, OCTAVE_HOME needs to be set to the
directory containing Octave to set up the load path correctly.

When I run your program with OCTAVE_HOME set correctly, it works for me
on both Debian and Windows 10.

Cheers,

--
mike

Hi Mike,
What is your OCTAVE_HOME set to?
Thanks,
Ashwin 

Hello,

Could you please let me know how you set the OCTAVE_HOME in your windows 10? I added a variable called OCTAVE_HOME->C:\Octave\Octave-5.2.0\mingw64. It does not work. Please guide.
--
Ashwin Damle

reply via email to

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