[Top][All Lists]

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

Re: Calling Octave from C++

From: Ian McCallion
Subject: Re: Calling Octave from C++
Date: Thu, 22 Mar 2018 22:22:49 +0000

What do you mean by OCTAVE_PATH? The path to .m files is not in an
environment variable but is added to by addpath and revealed by path()

   which functionname

will show which (if any) version of the specified function will be called.

Cheers... Ian

On 22 March 2018 at 16:04, andrea.delbravo
<address@hidden> wrote:
> Hello to evrybody, I have e real big issue which jeopardize a 6 months work!!
> I have a very big application in C++ related to air traffic control
> simulation for testing Sense & avoid susyem for unmanned aircraft.
> To define the trajectories of 2 Encounter AC I used an utility developed by
> MIT (Lincoln Lab) written in MATLA that I execute in Octave from C++.
> All wirked very fine until Octave 4.0.0. Now I updated to Octave 4.2.1 and
> the SW crashes (Segmentation failt) inside the interpreter.
> I try all the suggestion inside this forum and almost in all around the WEB.
> I'm really desperate.
> I minimize the code to try to find the solution, and I suppose the problem
> is in the feval call
> If I use id with an Octave function (like gcd) it works fine, while if I
> substitute it with a very simple Octave code written by me that capture and
> show the 2 parameters I passed to gcd, it crashes. It is like it didn't find
> the script, but the OCTAVE_PATH env var is correctly set.
> Any idea?
> Thanks a lot
> Andrea
> --
> Sent from:

reply via email to

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