[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loading an octave file in a stand-alone program with Octave 4.3.0+
From: |
Carlo De Falco |
Subject: |
Re: loading an octave file in a stand-alone program with Octave 4.3.0+ |
Date: |
Thu, 8 Feb 2018 20:12:59 +0000 |
> On 4 Feb 2018, at 17:16, Carlo De Falco <address@hidden> wrote:
>
> Hi,
>
> In many C++ applications I have been using the approach shown here:
> http://wiki.octave.org/Fortran#C.2B.2B_function
> To load Octave data files.
>
> This code no longer compiles whith recent versions of the development branch
> as "install_types ()" now takes an input argument of "class
> octave::type_info&".
>
> Can someone provide some hint for adapting that example on the wiki?
> Is it now needed to create an interpreter object before invoking do_load?
>
> Thanks,
> c.
It seems today I like to answer my own questions ;)
I found that starting an interpreter before running do_load is indeed working
as a solution.
Is this actually the right thing to do?
Anyway I'll add a comment in the wiki example about this.
c.